個人習慣用 tcsh ,有時不得不用 bash
tcsh 可以這樣下
/path/to/command |& less
bash 我只會這樣
/path/to/command > tmepfile 2>&1
再 less tmepfile
有點麻煩,請問有辦法一行解決嗎?
--
tcsh 可以這樣下
/path/to/command |& less
bash 我只會這樣
/path/to/command > tmepfile 2>&1
再 less tmepfile
有點麻煩,請問有辦法一行解決嗎?
--
All Comments