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.

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.


相关考题:

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

Whenrunonamachinecalledclient,whichofthefollowingcommandswouldmountthe/usr/local/bindirectoryfromthehostmachineoverthe/home/bindirectoryonclient?() A.mounthost:/usr/local/bin/home/binB.mountclient:/home/bin/usr/local/binC.mount-oclient:/usr/local/bin/home/binD.mount-nhost:/home/bin/usr/local/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

AnAIXsystemadministratorwantstobeabletomonitordiskusageandtobeabletocontrolhow muchdiskspacecanbeused.Whichcommandisruntoobtainthedesiredoutput?() A./usr/bin/filemonB./usr/bin/startsrcC./usr/sbin/acct/startupD./usr/bin/df

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

WhichactionchangethedefaulteditorforALLusersonthesystemfromvitoedit() A.Issuethecommand:exportEDITOR=/usr/bin/editediteachuser.profiletochangetheEDITORvalueto/usr/bin/editB.Modify/.profileandchangetheEDITORvariableto/usr/bin/editC.Modify/etc/environmentandaddEDITOR=/usr/bin/editexportEDITORD.Modify/etc/security/defaultsandchangetheEDITORvalueto/usr/bin/edit

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/javaB. /usr/jre1.5.0_06/bin/javaC. /usr/bin/jre1.5.0_06/bin/javaD. /usr/bin/java/jre1.5.0_06/bin/java