home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 17.2 Delving Through a Deep Directory Tree Chapter 17
Finding Files with find
Next: 17.4 Looking for Files with Particular Names
 

17.3 Don't Forget -print

"Why didn't find find my file?" I wondered sometimes. "I know it's there!"

More often than not, I'd forgotten to use -print . Without -print (or -ls , on versions of find that have it), find may not print any pathnames. [This is probably the feature that confuses and "turns off" more beginning find users than any other. -TOR  ] Some versions of find will output an error message or add the missing  - print for you - but you shouldn't expect it.

- JP


Previous: 17.2 Delving Through a Deep Directory Tree UNIX Power Tools Next: 17.4 Looking for Files with Particular Names
17.2 Delving Through a Deep Directory Tree Book Index 17.4 Looking for Files with Particular Names

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System