试题详情
单项选择题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

  • A
  • 关注下方微信公众号,在线模考后查看

热门试题