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,butdoesnotwanttoseetheerrorsthatmightbegeneratedbythescript.Howwouldthisbeaccomplished?()
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
单项选择题Given the following scripts, what output would be generated?()
A.The sky is red. B.The sky is blue. C.The sky is green. D.The sky is yellow.