小智 10
看看man xargs:
-P max-procs --max-procs=max-procsRun Code Online (Sandbox Code Playgroud)Run up to max-procs processes at a time; the default is 1. If max-procs is 0, xargs will run as many processes as possible at a time.
解决方案:
xargs -P 20 -n 1 wget -nv <urs.txt
Run Code Online (Sandbox Code Playgroud)