xargs
补充说明
xargs 命令用法
cat test.txt
a b c d e f g
h i j k l m n
o p q
r s t
u v w x y zcat test.txt | xargs
a b c d e f g h i j k l m n o p q r s t u v w x y z使用 -n 进行多行输出
使用 -d 分割输入
读取 stdin
结合 -I 选项
结合 find 命令使用
打印出执行的命令
使用 -p 选项确认执行的命令
执行多个命令
其他应用
子 Shell(Subshells)
reference
Last updated