单项选择题
A system administrator wants to run a script called myscript, but does not want to see the errors that might be generated by the script. How would this be accomplished?()
A./usr/local/bin/myscript > /dev/null
B./usr/local/bin/myscript < /dev/null
C./usr/local/bin/myscript 2> /dev/null
D./usr/local/bin/myscript 1> /dev/null
点击查看答案
相关考题
-
单项选择题
Whichcommandwillrunmyscriptandredirectstdoutandsterrto/tmp/myoutput?()
A../myscript >> /tmp/myoutput
B../myscript 2>&1 /tmp/myoutput
C../myscript > /tmp/myoutput 2>&1
D../myscript > /tmp/myoutput &1>2 -
单项选择题
Auser’sprintjobsdefaulttoPRINTER_A.TheuserwantstochangetheirdefaultprintertoPRINTER_B.Howcanthesystemadministratorchangetheuser’sdefaultprintertoPRINTER_B?()
A.Execute the command ’piobe -q PRINTER_B’
B.Edit the user’s stanza in the /etc/qconfig file
C.Execute the command ’chuser -a QUEUE=PRINTER_B user’
D.Add the line ’export PRINTER=PRINTER_B’ to the user’s .profile -
单项选择题
A 1500 page print job was sent to the "pcl" queue. The job was running for several minutes before it was determined that the job was not needed. What can be done to delete the job?()
A.kill 201
B.cancel 201
C.disable pcl
D.rm /var/spool/lpd/STDIN.27648
