A. :r/^#//g B. :1,$ s/^#//g C. :sed s/^#//g D. :sub s/^#//g
单项选择题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
单项选择题An operator has been asked if a system was rebooted. Which of the following commands should be used to determine if a reboot has occurred?()
A. The name?command.The ?name?command. B. The ptime?command.The ?ptime?command. C. The hutdown ast?command.The ?hutdown ?ast?command. D. The ?etc/rc.shutdown?command.