Couple of addition, If I may,
- I use ‘ctrl + l’ to clear the terminal
- ‘find’ to find a file by name e.g. `find . -type f -name “<filename>”`
- Using ‘find’ command to delete all file but a specific one e.g. `find <folder/path> -type f ! -name <filename of file which should not be deleted> -delete`
- ‘open -a <name of application to open with> <filename>’ to open a file using a specific application (i’ve aliased it to ‘opm’ to open with macvim)
- ‘grep -irn <word> <location>’ search for a word in the location (-i = ignore case, -r = search recursively on all sub-folders, -n = show line number)
Note: ‘find’ is much stronger than what those example suggest you can do lot more stuff with this command.