- 84 名前:login:Penguin mailto:sage [2008/06/04(水) 11:52:58 ID:3E+PCnl7]
- >>81
> 1: ls /home/ > /dev/null 2>&1 > test.txt 1) /dev/null を標準出力の出力先に指定 2) 標準出力の出力先をエラー出力の出力先に指定 3) test.txt を標準出力の出力先に指定 結果 標準出力: test.txt エラー出力: /dev/null > 2: ls /home/ > test.txt > /dev/null 2>&1 1) test.txt を標準出力の出力先に指定 2) /dev/null を標準出力の出力先に指定 3) 標準出力の出力先をエラー出力の出力先に指定 結果 標準出力: /dev/null エラー出力: /dev/null
|

|