notes

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

find.txt (285B)


      1 find
      2 
      3 Use find and match the name from the current directory downward:
      4 
      5 find . -name "filename"
      6 
      7 find /path/to/directory -name "filename"
      8 
      9 
     10 -name is case-sensitive. For a case-insensitive match, use -iname instead:
     11 
     12 find . -iname "filename"
     13 
     14 
     15 * works as wildcard:
     16 
     17 find . -name "*.log"