An administrator needs to add the /usr/vac/bin directory to 

题目
单选题
An administrator needs to add the /usr/vac/bin directory to their PATH environment variable for the current session.  Which of the following will accomplish this task()
A

path=$path:/usr/vac/bin; export path

B

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

C

Modify the path environment variable in /etc/profile

D

Modify the path environment variable in /.profile

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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


参考答案:A

第2题:

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

第3题:

Whenrunonamachinecalledclient,whichofthefollowingcommandswillmountthe/usr/local/bindirectoryfromthehostoverthe/home/bindirectoryonclient?()

A.mounthost:/home/bin/usr/local/bin

B.mountclient:/home/bin/usr/local/bin

C.mount-nhost/usr/local/bin/home/bin

D.mount-ohost:/usr/local/bin/home/bin


参考答案:C

第4题:

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"

正确答案:D

第5题:

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

正确答案:C

第6题:

AnAIXsystemadministratorwantstobeabletomonitordiskusageandtobeabletocontrolhow muchdiskspacecanbeused.Whichcommandisruntoobtainthedesiredoutput?()

A./usr/bin/filemon

B./usr/bin/startsrc

C./usr/sbin/acct/startup

D./usr/bin/df


参考答案:A

第7题:

An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()

A. cd /var/spool

B. lcd /var/spool

C. cd /usr/bin /var/spool

D. lcd /usr/bin /var/spool


参考答案:A

第8题:

Whichcronentrywillrun/usr/local/bin/myscriptat0500everySaturdayofthefollowing?()

A.05**6/usr/local/bin/myscript

B.056**/usr/local/bin/myscript

C.6**50/usr/local/bin/myscript

D.50Sat**/usr/local/bin/myscript


参考答案:A

第9题:

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/errmsg
  • B、/usr/lib/errdemon
  • C、/usr/lib/errlogger
  • D、/usr/bin/errinstall

正确答案:B

第10题:

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

正确答案:A

更多相关问题