Unix Tools

From SkyWiki

Revision as of 20:46, 18 September 2008 by Martin (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

syntax of some Unix command line tools

find

find PATH -name PATTERN -exec CMD {} \;

Example:

find . -name \*.tmp -exec rm {} \;

xargs

find . -name *.core | xargs rm \;

Personal tools