posted by Anonymous on .
How would you search the entire file system for a file named today.odt?
correction: This is in Linux.
find / today.odt
it will search all directories under root, including links.
For more options, type
to read about the command find on Linux (man for manual).
Would this also work: find / -name "today.odt " -print
Yes it would.
The quotes are used to delimit regular expressions, for example if you want to find all files ending with .h or .c, you would type in
find / "*.[ch]" -print
If you don't put any metacharacters for regular expressions, it will be interpreted as is.