Linux Command Xargs For Parallel Execution

less than 1 minute read

xargs command can be use to speed up linux command and run mulitiple linux command in parallel.

WORK IN PROGRESS

cat FILE_WITH_COMAMND_OR_WHATEVER | xargs -n1 -P10

-n1 reads one line at a time

-P10 runs up to 10 paralled commands

Happy learning!

Antonio

Comments