Saturday, November 8, 2008

Find any file from terminal

Sometimes you need to find some system file or other that soptlight doesn't find. The solution is to write 2 simple lines in the terminal.

-> Open the Terminal App, inside Aplications - Utilities
-> Type: "sudo /usr/libexec/locate.updatedb" and press Enter. This will update the locate database.
-> Type: "locate '[the-name-of-the-file-or-directory]'" and press Enter.

1 comment:

Unknown said...

Generally I don’t read article on blogs, but I would like to say that this write-up very compelled me to take
a look at and do so! Your writing style has been amazed me.
SEO Expert In Pakistan