Difference between revisions of "Xargs"

From Linuxintro
imported>ThorstenStaerk
(New page: xargs allows you to pipe the output of one program as parameters to another program. ;'''Example:''' You want to show the content of all text files in your directory: ls | xargs cat)
 
(No difference)

Latest revision as of 10:22, 22 December 2009

xargs allows you to pipe the output of one program as parameters to another program.

Example: You want to show the content of all text files in your directory
ls | xargs cat