输出到文件log中,并在屏幕上显示:
#ls >&1 | tee log
追加输出到文件log中,并在屏幕上显示:
#ls >&1 | tee -a log
bash的一点点记录
最新推荐文章于 2022-11-01 13:46:15 发布
输出到文件log中,并在屏幕上显示:
#ls >&1 | tee log
追加输出到文件log中,并在屏幕上显示:
#ls >&1 | tee -a log
5369

被折叠的 条评论
为什么被折叠?