[Chapter 17] 17.3 Don't Forget -print
Author: Jerry Peek, Tim O'Reilly & Mike Loukides
Date: 1998-08-04T21:38:18Z

#

| Chapter 17 Finding Files with find |

## 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

17.2 Delving Through a Deep Directory Tree |  | 17.4 Looking for Files with Particular Names