找考题网-背景图
单项选择题

An operator needs to run a script which will write stan……

An operator needs to run a script which will write standard output and standard error to different files. Which of the following commands will successfully perform this task?()

A. myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err
B. myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err
C. myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err
D. myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err