Unix Tools
From SkyWiki
(Difference between revisions)
m |
(kursiv) |
||
Line 4: | Line 4: | ||
===find=== | ===find=== | ||
<code> | <code> | ||
- | find | + | find ''PATH'' -name ''PATTERN'' -exec CMD {} \; |
</code> | </code> | ||
Revision as of 07:04, 16 September 2008
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 \;