LPIC対策 問題 解説

 
試験 101 103.4 問題No. 003
問題 :

commandの標準エラー出力を、標準出力と一緒にfile.txtにリダイレクトする書式として正しいものを選びなさい。

a:

command 1&2> file.txt

b:

command 2>&1 file.txt

c:

command 2&>1 file.txt

d:

command > file.txt 2>&1

e:

command > file.txt 2&>1