Xargs

From LinuxIntro
Jump to: navigation, search

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