单项选择题
Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday of the following?()
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
