http://ccd9527.blogspot.com/2009/05/linux-tee.html
http://linux.vbird.org/linux_basic/0320bash/0320bash.php#tee
whoami | tee whoami.file
同時把結果存到檔案中,又可以顯示在螢幕上哩如果要把要顯示在螢幕上的再分析一次哩,那請用
whoami | tee whoami.file | 分析指令
tee導向的部分只有standard output的部分,沒有導向standard input與standard error的部分
沒有留言:
張貼留言