pavement

Find

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
  samizdata# find / | grep "string"
 
  samizdata# find / | grep "string"
  
will execute [[find]] on [[ / ]] and then only show you the results that match "string". Note that this is ''not'' optimal and can take a while on large systems.
+
will execute [[find]] on [[ /]] and then only show you the results that match "string". Note that this is ''not'' optimal and can take a while on large systems.
  
 
[[category: system commands]]
 
[[category: system commands]]

Revision as of 14:57, 25 August 2004

Used to find files or directories. A complicated beast that is worth it's time in finding out more about via the man pages. For bare-bones help in finding a particular file or directory, use in conjunction with grep:

samizdata# find / | grep "string"

will execute find on / and then only show you the results that match "string". Note that this is not optimal and can take a while on large systems.

Personal tools