单项选择题
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
                    
                            点击查看答案&解析
                
                
            相关考题
- 
                                    单项选择题
                                    
 Which of the following will permit an operator to retrieve console log output from the command line?()
 A. lscons -l 
 B. cat /var/conslog
 C. alog -t console -o
 D. lslog /var/adm/conslog
- 
                                    单项选择题
                                    
 Which of the following will cancel only job 123 from printer lp01?()
 A. lpstat -d 123 lp01 
 B. enq -d 123 -p lp01
 C. qcan -x 123 -P lp01
 D. lpcan -j 123 -p lp01
- 
                                    单项选择题
                                    
 Which of the following is the correct command to list the filesystems in datavg?()
 A. lsvg -p datavg 
 B. lsvg -l datavg
 C. lsvg -L datavg
 D. lsvg -o datavg
 
             
             
                
            