Tuesday, July 11, 2006

Searching with find

The find command is one of the darkest and least understood areas of Linux, but it is also one of the most powerful. The biggest problem with find is that it has more options than most people can remember -- it truly is capable of doing most things you could want.

The most basic usage is this:

find -name "*.txt"

That query searches the current directory and all subdirectories for files that end in .txt.

Source : Linux.com

Read more >>

No comments: