Personal tools

Find

From MohidWiki

Revision as of 11:10, 6 July 2010 by Guillaume (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

find is a linux command line tool that allows to list files inside a given root directory.

Example

> find .
> find /

Looks only for directories

> find -type d

Looks only for files (?)

> find -type f

Looks for string in files and displays filename

> find . | xargs grep 'string' -sl

External Reference