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.The

题目

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.


相似考题
参考答案和解析
参考答案:C
更多“Giventhefollowingscripts,whatoutputwouldbegenerated()usr/local/bin/scriptl!/usr/bin/kshVAR ”相关问题
  • 第1题:

    Giventhefollowingscripts,bothfoundin/usr/local/bin,whatwouldtheoutputbewhenexecuting/usr/local/bin/script1?()

    A.dogcat

    B.dogfish

    C.mousecat

    D.mousefish


    参考答案:B

  • 第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


    参考答案:B

  • 第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


    参考答案:B

  • 第4题:

    AnAIXsystemadministratorwantstobeabletomonitordiskusageandtobeabletocontrolhow muchdiskspacecanbeused.Whichcommandisruntoobtainthedesiredoutput?()

    A./usr/bin/filemon

    B./usr/bin/startsrc

    C./usr/sbin/acct/startup

    D./usr/bin/df


    参考答案:A

  • 第5题:

    WhichactionchangethedefaulteditorforALLusersonthesystemfromvitoedit()

    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


    参考答案:C