单项选择题
A.0 5 * * 6 /usr/local/bin/myscript B.0 5 6 * * /usr/local/bin/myscript C.6 * * 5 0 /usr/local/bin/myscript D.5 0 Sat * * /usr/local/bin/myscript
Asystemadministratorwantstorunascriptcalledmyscript,but...
单项选择题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/...
单项选择题Which command will run myscript and redirect stdout and sterr to /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.Theuserwantstochange...
单项选择题A user’s print jobs default to PRINTER_A.The user wants to change their default printer to PRINTER_B.How can the system administrator change the user’s default printer to PRINTER_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