网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
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


参考答案

参考解析
解析: 暂无解析
更多 “单选题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 pathB path.=/usr/vac/bin; export $pathC Modify the path environment variable in /etc/profileD Modify the path environment variable in /.profile” 相关考题
考题 WhichactionchangesthedefaulteditorforALLusersonthesystemfromvitoeditofthefollowing?() A.Issuethecommand:exportEDITOR=/usr/bin/editB.Modify/.profileandchangetheEDITORvariableto/usr/bin/editC.Modify/etc/environmentandaddEDITOR=/usr/bin/editexportEDITORD.Modify/etc/security/defaultsandchangetheEDITORvalueto/usr/bin/edit

考题 Anadministratorneedstoaddthe/usr/vac/bindirectorytotheirPATHenvironmentvariableforthecurrentsession.Whichofthefollowingwillaccomplishthistask() A.path=$path:/usr/vac/bin;exportpathB.path.=/usr/vac/bin;export$pathC.Modifythe pathenvironmentvariablein/etc/profileD.Modifythepathenvironmentvariablein/.profile

考题 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

考题 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/spoolB. lcd /var/spoolC. cd /usr/bin /var/spoolD. lcd /usr/bin /var/spool

考题 Which action change the default editor for ALL users on the system from vi to edit()A、Issue the command: export EDITOR=/usr/bin/edit edit each user .profile to change the EDITOR value to /usr/bin/editB、Modify /.profile and change the EDITOR variable to /usr/bin/editC、Modify /etc/environment and add EDITOR=/usr/bin/edit export EDITORD、Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

考题 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/spoolB、lcd /var/spoolC、cd /usr/bin /var/spoolD、lcd /usr/bin /var/spool

考题 Which action changes the default editor for ALL users on the system from vi to edit of the following?()A、Issue the command:  export EDITOR=/usr/bin/editB、Modify /.profile and change the EDITOR variable to /usr/bin/editC、Modify /etc/environment and add  EDITOR=/usr/bin/edit  export EDITORD、Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

考题 Which of these commands allows you to use shared libraries that are in /usr/local/lib?()A、 export LD_PRELOAD=/usr/local/libB、 export LD_LIBRARY_PATH=/usr/local/libC、 Idconfig /usr/local/libD、 Idd/usr/local/lib

考题 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"

考题 What command will allow the operator to add the current working directory to the command search path?()A、export PATH=pwdB、export PATH=$PWDC、export PATH=$PATH:pwdD、export PATH=$PATH:$PWD

考题 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/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/java Based 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

考题 Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday of the following?()A、0 5 * * 6 /usr/local/bin/myscriptB、0 5 6 * * /usr/local/bin/myscriptC、6 * * 5 0 /usr/local/bin/myscriptD、5 0 Sat * * /usr/local/bin/myscript

考题 Given the following scripts, what output would be generated() usr/local/bin/scriptl    #!/usr/bin/ksh    VARl=red    export VARl=green    VARl=blue    /usr/local/bin/script2    ARl=yellow   /usr/local/bin/script2     #!/bin/ksh   echo "The sky is ${VAR1}."A、The sky is red.B、The sky is blue.C、The sky is green.D、The sky is yellow.

考题 When run on a machine called client, which of the following commands would mount the /usr/local/bin directory from the host machine over the /home/bin directory on client?()A、mount host:/usr/local/bin /home/binB、mount client:/home/bin /usr/local/binC、mount -o client:/usr/local/bin /home/binD、mount -n host:/home/bin /usr/local/bin

考题 When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A、mount host:/home/bin /usr/local/binB、mount client:/home/bin /usr/local/binC、mount -n host /usr/local/bin /home/binD、mount -o host:/usr/local/bin /home/bin

考题 An  administrator  performs  an  audit  on  the  /usr  filesystem  and  finds  the  following  permissions:  -rwsr-xr-x  1  root  sys  514288  Jun  18  09:40  /usr/local/bin/nmon  Which  of  the  following  methods  can  the  administrator use to remove a potential security risk()A、rm /usr/local/bin/nmonB、chmod u-s /usr/local/bin/nmonC、Reinstall the file from the appropriate filesetD、chmod go-rx /usr/local/bin/nmon

考题 单选题When run on a machine called client, which of the following commands would mount the /usr/local/bin directory from the host machine over the /home/bin directory on client?()A mount host:/usr/local/bin /home/binB mount client:/home/bin /usr/local/binC mount -o client:/usr/local/bin /home/binD mount -n host:/home/bin /usr/local/bin

考题 单选题Which of these commands allows you to use shared libraries that are in /usr/local/lib?()A  export LD_PRELOAD=/usr/local/libB  export LD_LIBRARY_PATH=/usr/local/libC  Idconfig /usr/local/libD  Idd/usr/local/lib

考题 单选题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.2B /usr/bin/errlog System upgraded to AIX 5.2C /usr/bin/errupdate System upgraded to AIX 5.2D /usr/bin/errlogger System upgraded to AIX 5.2

考题 单选题Given the following scripts, what output would be generated() usr/local/bin/scriptl    #!/usr/bin/ksh    VARl=red    export VARl=green    VARl=blue    /usr/local/bin/script2    ARl=yellow   /usr/local/bin/script2     #!/bin/ksh   echo "The sky is ${VAR1}."A The sky is red.B The sky is blue.C The sky is green.D The sky is yellow.

考题 单选题An  administrator  performs  an  audit  on  the  /usr  filesystem  and  finds  the  following  permissions:  -rwsr-xr-x  1  root  sys  514288  Jun  18  09:40  /usr/local/bin/nmon  Which  of  the  following  methods  can  the  administrator use to remove a potential security risk()A rm /usr/local/bin/nmonB chmod u-s /usr/local/bin/nmonC Reinstall the file from the appropriate filesetD chmod go-rx /usr/local/bin/nmon

考题 单选题When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A mount host:/home/bin /usr/local/binB mount client:/home/bin /usr/local/binC mount -n host /usr/local/bin /home/binD mount -o host:/usr/local/bin /home/bin

考题 单选题Which action change the default editor for ALL users on the system from vi to edit()A Issue the command: export EDITOR=/usr/bin/edit edit each user .profile to change the EDITOR value to /usr/bin/editB Modify /.profile and change the EDITOR variable to /usr/bin/editC Modify /etc/environment and add EDITOR=/usr/bin/edit export EDITORD Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

考题 单选题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/spoolB lcd /var/spoolC cd /usr/bin /var/spoolD lcd /usr/bin /var/spool

考题 单选题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/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/java Based 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

考题 单选题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 pathB path.=/usr/vac/bin; export $pathC Modify the path environment variable in /etc/profileD Modify the path environment variable in /.profile

考题 单选题Which action changes the default editor for ALL users on the system from vi to edit of the following?()A Issue the command:  export EDITOR=/usr/bin/editB Modify /.profile and change the EDITOR variable to /usr/bin/editC Modify /etc/environment and add  EDITOR=/usr/bin/edit  export EDITORD Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit