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?()

题目内容(请给出正确答案)
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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
更多相关问题