Unix Tools

From SkyWiki

Revision as of 10:59, 15 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