Xargs

From PKC
Revision as of 09:13, 14 January 2022 by Benkoo (talk | contribs)
Jump to navigation Jump to search

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 {}