Wednesday, 5 June 2013

linux or mac find command for terminal

This command will find you everything in /usr/bin/ with the text "log" in it..

Type in your terminal and then press enter:

find /usr/bin/ -name *log*

(where * is a wildcard)

Note: if you are searching in protected directories, you may need to sudo this command