Finding files in linux

find / -name "filename"
 
Find the file called "filename" on your filesystem starting the search from the root directory "/". The "filename" may contain wildcards (*,?).

The find command is very powerful. It has many options that will let you search for files in a variety of ways e.g., by date, size, permissions, owner, .... Yet some search queries can take you more than a minute to compose. See info find. Here are some more complex examples for using find to accomplish some useful tasks.

Comments

Popular posts from this blog

Linux Shortcuts

Petra, Jordan

PayPal integration in PHP