输出到文件log中,并在屏幕上显示:
#ls >&1 | tee log
追加输出到文件log中,并在屏幕上显示:
#ls >&1 | tee -a log
bash的一点点记录
猜你喜欢
转载自gkbusy.iteye.com/blog/2033750
今日推荐
周排行