Linux-tee命令将输出文本 写入指定文件

 ping 192.168.0.222 | tee text.txt

猜你喜欢

转载自blog.csdn.net/tanqingfu1/article/details/121373055