from http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm#EX01:
find . -name "filename" -print
This command will search in the current directory and all sub directories for a file named filename.
Mostly Linux & Python syntax notes and hyperlinks.
Subscribe to:
Post Comments (Atom)
Sometimes I can't remember the exact name of the file..or I'm too lazy to type the whole thing, so I have this alias defined in my environment:
ReplyDeletealias fig='find . -print | grep -i '
usage:
fig foo