更新时间:2023-02-01 16:20:13
是的,发球区域可以工作。像:
Yes, tee will work. Something like:
ls -l | tee | head -1
将输出附加到文件:
ls -l | tee -a output.txt
如何在stdout上显示Linux命令的输出并将其输送到另一个命令?