Difference between revisions of "Xargs"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
[[Category:Unix Command]] | [[Category:Unix Command]] | ||
[[Category:Xargs]] |
Revision as of 09:16, 14 January 2022
xargs is a unix command for assigning various inputs to different pther unix commands.
To execute commands for each of the line feed, use the following option:-n 1
. For example:
ls | xargs -n 1 echo {}