Monday, January 22, 2007

Find Things!

Linux Debian/Ubuntu:
One of the most helpful commands ever is find...

Use it to find files! Use * for a "from here on wild card" or ? for a "single character wild card"

find / (where to start) -name (I'm searching using the name) something*

so if I was looking for the file bob and I wanted to search from root on, I would:

find / -name bob
or if the file might be called bob.2 I would:
find / -name bob*

and so on...

No comments: