Code:
grep -e {string searched for} [locations to Search]
For example, if you created this file as a regular user, chances are good that it would be in home, as you don't have write permissions in many other places. If you wanted to find files with the word "drumstick" in them (title or contents), and you wanted to look in your home directory and all subdirectories, you would look for:
Code:
grep -e drumstick ~
If you knew drumstick was in the file name, then the find command with wildcards would be signifigantly faster. That command would look like:
Code:
find ~ -name *drumstick* -print
~ = /home/{username}, just a good shortcut. If you wanted to search the entire filesystem, then it becomes
Code:
find / -name *drumstick* -print
but you would need to do that as root, as it will spit some errors if you try to look in places where you don't have permissions to read.
Peace,
JimBass