Re: CLI Magic: For geek cred, try these one-liners
Posted by: Anonymous
[ip: 12.47.208.34]
on July 23, 2008 02:24 PM
One of my favorite commands is xargs. It takes multi-line output from one command and converts each line to arguments for another command. For example to use grep and find together:
> find . -name "*.txt" | xargs grep foo
Re: CLI Magic: For geek cred, try these one-liners
Posted by: Anonymous [ip: 12.47.208.34] on July 23, 2008 02:24 PM> find . -name "*.txt" | xargs grep foo
#