网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
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
参考答案
参考解析
解析:
暂无解析
更多 “单选题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/nullB /usr/local/bin/myscript /dev/nullC /usr/local/bin/myscript 2 /dev/nullD /usr/local/bin/myscript 1 /dev/null” 相关考题
考题
Whenrunonamachinecalledclient,whichofthefollowingcommandswillmountthe/usr/local/bindirectoryfromthehostoverthe/home/bindirectoryonclient?()
A.mounthost:/home/bin/usr/local/binB.mountclient:/home/bin/usr/local/binC.mount-nhost/usr/local/bin/home/binD.mount-ohost:/usr/local/bin/home/bin
考题
Whichcronentrywillrun/usr/local/bin/myscriptat0500everySaturdayofthefollowing?()
A.05**6/usr/local/bin/myscriptB.056**/usr/local/bin/myscriptC.6**50/usr/local/bin/myscriptD.50Sat**/usr/local/bin/myscript
考题
Asystemadministratorwantstorunascriptcalledmyscript,butdoesnotwanttoseetheerrorsthatmightbegeneratedbythescript.Howwouldthisbeaccomplished?()
A./usr/local/bin/myscript/dev/nullB./usr/local/bin/myscript/dev/nullC./usr/local/bin/myscript2/dev/nullD./usr/local/bin/myscript1/dev/null
考题
Giventhefollowingscripts,bothfoundin/usr/local/bin,whatwouldtheoutputbewhenexecuting/usr/local/bin/script1?()
A.dogcatB.dogfishC.mousecatD.mousefish
考题
Anadministratorperformsanauditonthe/usrfilesystemandfindsthefollowingpermissions:-rwsr-xr-x1rootsys514288Jun1809:40/usr/local/bin/nmonWhichofthefollowingmethodscantheadministratorusetoremoveapotentialsecurityrisk()A.rm/usr/local/bin/nmonB.chmodu-s/usr/local/bin/nmonC.ReinstallthefilefromtheappropriatefilesetD.chmodgo-rx/usr/local/bin/nmon
考题
Giventhefollowingscripts,whatoutputwouldbegenerated()usr/local/bin/scriptl!/usr/bin/kshVARl=redexportVARl=greenVARl=blue/usr/local/bin/script2ARl=yellow/usr/local/bin/script2!/bin/kshechoTheskyis${VAR1}.A.Theskyisred.B.Theskyisblue.C.Theskyisgreen.D.Theskyisyellow.
考题
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/nullB、/usr/local/bin/myscript /dev/nullC、/usr/local/bin/myscript 2 /dev/nullD、/usr/local/bin/myscript 1 /dev/null
考题
A system administrator issued the errpt command and had no results. The system administrator determined that error logging was turned off. Which of the following commands should be used to start logging system errors?()A、/usr/bin/errmsgB、/usr/lib/errdemonC、/usr/lib/errloggerD、/usr/bin/errinstall
考题
A system administrator has just finished upgrading a system to AIX 5.2. If there are future problems, the system administrator would like to add an entry to the AIX errorlog to record this event. Which of the following commands can be issued for this purpose?()A、/usr/bin/errmsg "System upgraded to AIX 5.2"B、/usr/bin/errlog "System upgraded to AIX 5.2"C、/usr/bin/errupdate "System upgraded to AIX 5.2"D、/usr/bin/errlogger "System upgraded to AIX 5.2"
考题
An AIX system administrator wants to be able to monitor disk usage and to be able to control how much disk space can be used. Which command is run to obtain the desired output?()A、 /usr/bin/filemon B、 /usr/bin/startsrc C、 /usr/sbin/acct/startup D、 /usr/bin/df
考题
Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday of the following?()A、0 5 * * 6 /usr/local/bin/myscriptB、0 5 6 * * /usr/local/bin/myscriptC、6 * * 5 0 /usr/local/bin/myscriptD、5 0 Sat * * /usr/local/bin/myscript
考题
Given the following scripts, what output would be generated() usr/local/bin/scriptl #!/usr/bin/ksh VARl=red export VARl=green VARl=blue /usr/local/bin/script2 ARl=yellow /usr/local/bin/script2 #!/bin/ksh echo "The sky is ${VAR1}."A、The sky is red.B、The sky is blue.C、The sky is green.D、The sky is yellow.
考题
When run on a machine called client, which of the following commands would mount the /usr/local/bin directory from the host machine over the /home/bin directory on client?()A、mount host:/usr/local/bin /home/binB、mount client:/home/bin /usr/local/binC、mount -o client:/usr/local/bin /home/binD、mount -n host:/home/bin /usr/local/bin
考题
When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A、mount host:/home/bin /usr/local/binB、mount client:/home/bin /usr/local/binC、mount -n host /usr/local/bin /home/binD、mount -o host:/usr/local/bin /home/bin
考题
An administrator performs an audit on the /usr filesystem and finds the following permissions: -rwsr-xr-x 1 root sys 514288 Jun 18 09:40 /usr/local/bin/nmon Which of the following methods can the administrator use to remove a potential security risk()A、rm /usr/local/bin/nmonB、chmod u-s /usr/local/bin/nmonC、Reinstall the file from the appropriate filesetD、chmod go-rx /usr/local/bin/nmon
考题
How are hardware errors removed from an error report that are more than 30 days old?()A、 /usr/bin/errpt -d H 30B、 /usr/sbin/errclear - J H 30C、 /usr/bin/errclear -d H 30D、 /usr/sbin/errclear -j H 30
考题
Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday()A、5 0 * * 6 /usr/local/bin/myscriptB、6 * * 5 0 /usr/local/bin/myscriptC、0 5 * * 6 /usr/local/bin/myscriptD、0 5 6 * * /usr/local/bin/myscript
考题
单选题A system administrator issued the errpt command and had no results. The system administrator determined that error logging was turned off. Which of the following commands should be used to start logging system errors?()A
/usr/bin/errmsgB
/usr/lib/errdemonC
/usr/lib/errloggerD
/usr/bin/errinstall
考题
单选题When run on a machine called client, which of the following commands would mount the /usr/local/bin directory from the host machine over the /home/bin directory on client?()A
mount host:/usr/local/bin /home/binB
mount client:/home/bin /usr/local/binC
mount -o client:/usr/local/bin /home/binD
mount -n host:/home/bin /usr/local/bin
考题
单选题A system administrator has just finished upgrading a system to AIX 5.2. If there are future problems, the system administrator would like to add an entry to the AIX errorlog to record this event. Which of the following commands can be issued for this purpose?()A
/usr/bin/errmsg System upgraded to AIX 5.2B
/usr/bin/errlog System upgraded to AIX 5.2C
/usr/bin/errupdate System upgraded to AIX 5.2D
/usr/bin/errlogger System upgraded to AIX 5.2
考题
单选题Given the following scripts, what output would be generated() usr/local/bin/scriptl #!/usr/bin/ksh VARl=red export VARl=green VARl=blue /usr/local/bin/script2 ARl=yellow /usr/local/bin/script2 #!/bin/ksh echo "The sky is ${VAR1}."A
The sky is red.B
The sky is blue.C
The sky is green.D
The sky is yellow.
考题
单选题An administrator performs an audit on the /usr filesystem and finds the following permissions: -rwsr-xr-x 1 root sys 514288 Jun 18 09:40 /usr/local/bin/nmon Which of the following methods can the administrator use to remove a potential security risk()A
rm /usr/local/bin/nmonB
chmod u-s /usr/local/bin/nmonC
Reinstall the file from the appropriate filesetD
chmod go-rx /usr/local/bin/nmon
考题
单选题When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A
mount host:/home/bin /usr/local/binB
mount client:/home/bin /usr/local/binC
mount -n host /usr/local/bin /home/binD
mount -o host:/usr/local/bin /home/bin
考题
单选题Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday()A
5 0 * * 6 /usr/local/bin/myscriptB
6 * * 5 0 /usr/local/bin/myscriptC
0 5 * * 6 /usr/local/bin/myscriptD
0 5 6 * * /usr/local/bin/myscript
考题
单选题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/nullB
/usr/local/bin/myscript /dev/nullC
/usr/local/bin/myscript 2 /dev/nullD
/usr/local/bin/myscript 1 /dev/null
考题
单选题An AIX system administrator wants to be able to monitor disk usage and to be able to control how much disk space can be used. Which command is run to obtain the desired output?()A
/usr/bin/filemon B
/usr/bin/startsrc C
/usr/sbin/acct/startup D
/usr/bin/df
考题
单选题How are hardware errors removed from an error report that are more than 30 days old?()A
/usr/bin/errpt -d H 30B
/usr/sbin/errclear - J H 30C
/usr/bin/errclear -d H 30D
/usr/sbin/errclear -j H 30
热门标签
最新试卷