Giventhefollowingscripts,whatoutputwouldbegenerated()usr/local/bin/scriptl!/usr/bin/kshVARl=redexportVARl=greenVARl=blue/usr/local/bin/script2ARl=yellow/usr/local/bin/script2!/bin/kshecho"Theskyis${VAR1}."
A.Theskyisred.
B.Theskyisblue.
C.Theskyisgreen.
D.Theskyisyellow.
第1题:
A.dogcat
B.dogfish
C.mousecat
D.mousefish
第2题:
Anadministratorperformsanauditonthe/usrfilesystemandfindsthefollowingpermissions:-rwsr-xr-x1rootsys514288Jun1809:40/usr/local/bin/nmonWhichofthefollowingmethodscantheadministratorusetoremoveapotentialsecurityrisk()
A.rm/usr/local/bin/nmon
B.chmodu-s/usr/local/bin/nmon
C.Reinstallthefilefromtheappropriatefileset
D.chmodgo-rx/usr/local/bin/nmon
第3题:
An operator is asked to verify the exact location of the default JRE binary. The following commands were run:$ which java /usr/bin/java$ ls -l /usr/bin/javalrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java -> ../jre1.5.0_06/bin/javaBased on the command outputs above, what is the path to the java executable file?()
A. /usr/bin/java
B. /usr/jre1.5.0_06/bin/java
C. /usr/bin/jre1.5.0_06/bin/java
D. /usr/bin/java/jre1.5.0_06/bin/java
第4题:
A./usr/bin/filemon
B./usr/bin/startsrc
C./usr/sbin/acct/startup
D./usr/bin/df
第5题:
A.Issuethecommand:exportEDITOR=/usr/bin/editediteachuser.profiletochangetheEDITORvalueto/usr/bin/edit
B.Modify/.profileandchangetheEDITORvariableto/usr/bin/edit
C.Modify/etc/environmentandaddEDITOR=/usr/bin/editexportEDITOR
D.Modify/etc/security/defaultsandchangetheEDITORvalueto/usr/bin/edit