Unix Tools
From SkyWiki
(Difference between revisions)
(kursiv) |
m (→xargs) |
||
Line 16: | Line 16: | ||
<code> | <code> | ||
- | find . -name *.core|xargs rm \; | + | find . -name *.core | xargs rm \; |
</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 \;