bash 的 std out & std err 導到 less - Linux

By Yuri
at 2013-08-20T14:33
at 2013-08-20T14:33
Table of Contents
個人習慣用 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
有點麻煩,請問有辦法一行解決嗎?
--
Tags:
Linux
All Comments

By Harry
at 2013-08-21T11:14
at 2013-08-21T11:14

By Oliver
at 2013-08-24T02:17
at 2013-08-24T02:17
Related Posts
硬碟空間

By Jessica
at 2013-08-19T17:14
at 2013-08-19T17:14
HackingThursday 固定聚會 (2013-08-22)

By Catherine
at 2013-08-19T12:07
at 2013-08-19T12:07
不小心將所有根目錄下的資料搬走..

By Isabella
at 2013-08-19T02:49
at 2013-08-19T02:49
matlab EDITOR問題

By Blanche
at 2013-08-19T01:24
at 2013-08-19T01:24
隨身碟裝置不是 /dev/sd*

By Tristan Cohan
at 2013-08-18T23:56
at 2013-08-18T23:56