Finding What's Where
The more you use UNIX, the more likely you'll end up losing track of where some of your files are. In UNIX, however, there's a cool tool to help you find them again.
Task 18.1: The find Command and Its Weird Options
The grep family can help you find files by their content. There are a lot of other ways to look for things in UNIX, and that's where the find command can help. This command has a notation that is completely different from all other UNIX commands: It has full-word options rather than single-letter options. Instead of -n pattern to match filenames, for example, find uses -name pattern. |
The general format for this ...
Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.