linux 第四天

| 管道 用法 : cat profile | head -10 左边会以输出流方式 交给右边以输入流的方式接收 意思就是 读取profile文件 然后 读前十行

xargs: build and execute command lines form standard input(构建和执行一个命令行,从标准输入流中) 用于无法以输入流方式接收
命令的方式 可以用xargs
示例 : echo '/' | xargs ls -l 转换后 : ls -l /

原文地址:https://www.cnblogs.com/self-crossing/p/11064235.html