Link Details

Link 109660 thumbnail
User 252611 avatar

By Thierry.Lefort
via itmanagement.earthweb.com
Published: Sep 04 2008 / 07:28

xargs is an incredibly useful command: it takes in input and executes your chosen command on it: xargs command. Deceptively simple in concept; extremely powerful in execution. It's most commonly used to execute one command on the output from another command (command1 | xargs command2), and most often the output-generating command is find (xargs is more flexible than the built-in -exec option). Here we'll look at xargs with find, and then at some other possibilities.
  • 13
  • 0
  • 949
  • 327

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.