Finding Files by Searching with find
find command is one of the darkest and least understood areas of Linux, but it is also one of the most powerful. Admittedly, the
find command does not help itself by using X-style parameters. The UNIX standard is
-s, and so on, whereas the GNU standard is --
--mooby, and so forth. X-style parameters merge the two by having words preceded by only one dash.
However, 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:
matthew@seymour:~$ find -name "*.txt"
That option searches the current directory and all subdirectories for files that end in
.txt. The previous search ...