管道:将前面命令的结果作为参数传递给后面|netstat -anp netstat -anp | grep 17649重定向:改变数据输出的位置,方向> 覆盖ll /opt > testcat testll root > testcat test >>追加 ll /opt > > testll root >> testcat test