linux 中xargs 命令

 

001、

root@DESKTOP-IDT9S0E:/home/test# ls
a.txt  b.csv  c.ped  xx
root@DESKTOP-IDT9S0E:/home/test# cat a.txt
1
2
3
4
5
6
7
8
9
10
root@DESKTOP-IDT9S0E:/home/test# echo a.txt | cat          
a.txt
root@DESKTOP-IDT9S0E:/home/test# echo a.txt | xargs cat   ## 增加 xargs选项
1
2
3
4
5
6
7
8
9
10

 

posted @ 2023-05-12 08:52  小鲨鱼2018  阅读(22)  评论(0编辑  收藏  举报