Tuesday, November 05, 2013

How to search entire hard drive for a file?

A simple find / -type f -name "" would do the trick if you know exact filename.
find / -type f -iname "filename*" if you want to match more files.
Avoid -type option if you want to search for directories etc. See manual of find for more information. To see the manual, issue the command:
man find

sudo update-alternatives --config x-cursor-theme