How to Calling Multiple Commands Through Xargs May 1st, 2018 | Comments 有时候想在xargs后面接多条命令,这个时候直接加;是不行的,要这样做: 1 cat a.txt | xargs -I@ sh -c 'command1; command2; ...'