xargs: Build and Execute Commands with Arguments from Standard Input

1 · Benjamin Cane · Aug. 13, 2012, 11:30 a.m.
For me when it comes to useful commands xargs ranks along side commands like find, top and df; xargs is a great time saver and incredibly useful. Today I will show a few examples of usage and some of the lesser known features. Basic Usage The xargs command is used to take the output of one command and provide it as arguments to another. Example (xargs): # ls [0-9]-test.xml | xargs chmod -v 644 mode of `1-test....