参考答案和解析
参考答案:A
更多“An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?() ”相关问题
  • 第1题:

    An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()

    A. mv /home/operator .

    B. mv /home/operator/* .

    C. mv /home/operator ../..

    D. mv /home/operator/all ../home/operator


    参考答案:B

  • 第2题:

    Which action changes the default editor for ALL users on the system from vi to edit?()

    • A、Issue the command:export EDITOR=/usr/bin/edit edit each users .profile to change the EDITOR value to /usr/bin/edit
    • B、Modify /.profile and change the EDITOR variable to /usr/bin/edit
    • C、Modify /etc/environment and add EDITOR=/usr/bin/edit export EDITOR
    • D、Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

    正确答案:C

  • 第3题:

    A System p administrator suspects they are receiving an error from one of their nightly cron jobs. The  job is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for errors reported by  this cron job()

    • A、/var/log/syslog.out
    • B、var/log/cron.log
    • C、/var/spool/cron/logs
    • D、mail

    正确答案:D

  • 第4题:

    An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()

    • A、mv /home/operator .
    • B、mv /home/operator/* .
    • C、mv /home/operator ../..
    • D、mv /home/operator/all ../home/operator

    正确答案:B

  • 第5题:

    In which directory are the basic Linux commands such as gzip, gunzip and zcat installed?()

    • A、/opt/freeware/bin
    • B、/usr/bin/freeware
    • C、/var/freeware/bin
    • D、/usr/sbin/freeware

    正确答案:A

  • 第6题:

    An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?()

    • A、cd /adm
    • B、cd ./adm
    • C、cd ../adm
    • D、cd /../adm

    正确答案:C

  • 第7题:

    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/bin
    • B、mount client:/home/bin /usr/local/bin
    • C、mount -n host /usr/local/bin /home/bin
    • D、mount -o host:/usr/local/bin /home/bin

    正确答案:C

  • 第8题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第9题:

    单选题
    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/edit

    B

    Modify /.profile and change the EDITOR variable to /usr/bin/edit

    C

    Modify /etc/environment and add  EDITOR=/usr/bin/edit  export EDITOR

    D

    Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()
    A

    /etc/var/spool

    B

    /var/spool/cron

    C

    /var/sched/jobs

    D

    /usr/sched/crontabs


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    In which directory are the basic Linux commands such as gzip, gunzip and zcat installed?()
    A

    /opt/freeware/bin

    B

    /usr/bin/freeware

    C

    /var/freeware/bin

    D

    /usr/sbin/freeware


    正确答案: D
    解析: 暂无解析

  • 第12题:

    单选题
    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/edit

    B

    Modify /.profile and change the EDITOR variable to /usr/bin/edit

    C

    Modify /etc/environment and add EDITOR=/usr/bin/edit export EDITOR

    D

    Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit


    正确答案: C
    解析: 暂无解析

  • 第13题:

    The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?()

    • A、chvg -a y testvg
    • B、chfs -A yes /test
    • C、mount /test -auto=yes
    • D、chlv -a automount=y testlv

    正确答案:B

  • 第14题:

    A  System  p  customer  has  installed  components  from  the  Linux  ToolBox.  By  default,  which  of  the following directories will contain the open source commands such as gzip, gunzip and zcat()

    • A、/opt/freeware/bin
    • B、/usr/bin/freeware
    • C、/var/freeware/bin
    • D、/usr/sbin/freeware

    正确答案:A

  • 第15题:

    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

  • 第16题:

    An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()

    • A、/etc/var/spool
    • B、/var/spool/cron
    • C、/var/sched/jobs
    • D、/usr/sched/crontabs

    正确答案:C

  • 第17题:

    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/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

  • 第18题:

    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/bin
    • B、mount client:/home/bin /usr/local/bin
    • C、mount -o client:/usr/local/bin /home/bin
    • D、mount -n host:/home/bin /usr/local/bin

    正确答案:A

  • 第19题:

    单选题
    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


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    A System p administrator suspects they are receiving an error from one of their nightly cron jobs. Thejob is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for errors reported by this cron job()
    A

    /var/log/syslog.out

    B

    /var/log/cron.log

    C

    /var/spool/cron/logs

    D

    mail


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    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


    正确答案: B
    解析: 暂无解析

  • 第22题:

    单选题
    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/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


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    A  System  p  customer  has  installed  components  from  the  Linux  ToolBox.  By  default,  which  of  the following directories will contain the open source commands such as gzip, gunzip and zcat()
    A

    /opt/freeware/bin

    B

    /usr/bin/freeware

    C

    /var/freeware/bin

    D

    /usr/sbin/freeware


    正确答案: B
    解析: 暂无解析