diff --git a/help/commands.md b/help/commands.md index 451323c..ccd40e2 100644 --- a/help/commands.md +++ b/help/commands.md @@ -49,6 +49,9 @@ Note that for all of the above, `cd` is not required. - Give permissions to the user `hello` and the group `world`: `chown -R hello:world dir/` - Given text input, return only unique lines (aka no duplicates): `cat | uniq` - Search for a particular font on the system: `fc-list | grep -i ` +- Search for all files of a specific extension in a given directory: `find . -name "*.ext" -type f` + - Chain `-delete` to the end of the find command in order to delete the results + - This is useful if, for example, you want to delete all files with the extension `ext` in all directories and subdirectories ### Changing File Permissions