Originally posted by domeili
I use the command:
'grep -r switchdesk.png *'
OK this command will for search for the string "switchdesk.png" within all of the files in the directory you are in and all of its subdirectories and sub-subdirectories etc. If the directory hierarchy contains a lot of data, expect it to take a while.
Note that this is not the same as searching for a file whose name is "switchdesk.png". That you can do with this command :
find . -name 'switchdesk.png'
This will be much faster, but its not doing the same thing.