CLI Magic: Searching with find
- 0
- Add a Comment
- No Related Post
Awesome, awesome tip. What makes this so awesome is that it shows the power and simplicity of this great OS.
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.
“This article is excerpted from the newly published book Red Hat Fedora 5 Unleashed . Excerpt provided by Sams Publishing.”
Admittedly, the find command does not help itself by using X-style parameters. The Unix standard is -c, -s, and so on, whereas the GNU standard is –dosomething, –mooby, and so forth. X-style parameters merge the two by having words preceded by only one dash. The most basic usage is this:
find -name “*.txt” …. Source: Linux.com/ Sam Hills Pub
