Anadministratorneedstoaddthe/usr/vac/bindirectorytotheirPATHenvironmentvariableforthecurrentsession.Whichofthefollowingwillaccomplishthistask()A.path=$path:/usr/vac/bin;exportpathB.path.=/usr/vac/bin;export$pathC.Modifythe pathenvironmentvariablein/etc/pr

题目
Anadministratorneedstoaddthe/usr/vac/bindirectorytotheirPATHenvironmentvariableforthecurrentsession.Whichofthefollowingwillaccomplishthistask()

A.path=$path:/usr/vac/bin;exportpath

B.path.=/usr/vac/bin;export$path

C.Modifythe pathenvironmentvariablein/etc/profile

D.Modifythepathenvironmentvariablein/.profile


相似考题
更多“Anadministratorneedstoaddthe/usr/vac/bindirectorytotheirPATHenvironmentvariableforthecurrentsession.Whichofthefollowingwillaccomplishthistask() ”相关问题
  • 第1题:

    AnAIXsystemadministratorwantstobeabletomonitordiskusageandtobeabletocontrolhow muchdiskspacecanbeused.Whichcommandisruntoobtainthedesiredoutput?()

    A./usr/bin/filemon

    B./usr/bin/startsrc

    C./usr/sbin/acct/startup

    D./usr/bin/df


    参考答案:A

  • 第2题:

    A backup is taken using the following command:tar -cvf abcdef.tar /usr/local/include/tcpd.h The operator is in the directory /usr/local/restores and runs the following command: tar -xvf abcdef.tar.Where will the file be restored?()

    A./usr/local/include/tcpd.h

    B./usr/local/restores/tcpd.h

    C./usr/local/restores/include/tcpd.h

    D./usr/local/restores/usr/local/include/tcpd.h


    参考答案:A

  • 第3题:

    在计算机A上,通过NFS把计算机B上的/usr/lib挂接到A的/usr/lib需要执行()。

    A.connect B:/usr/lib/usr/lib

    B.ln B:/usr/lib/usr/lib

    C.mount B:/usr/lib/usr/lib

    D.mount A:/usr/lib B:/usr/lib


    参考答案:C

  • 第4题:

    Whichofthefollowingcommandscanbeusedtocommitappliedfilesets?()

    A./usr/sbin/installp-C

    B./usr/sbin/inutoc-c

    C./usr/sbin/installp-c

    D./usr/sbin/lsresource-c


    参考答案:C

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