更多“单选题Which command enables a user to exit the vi editor, overwriting the existing file without prompting for confirmation?()A :wB :qwC :x!D :we!”相关问题
  • 第1题:

    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

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

    Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into a bash initialization file will have bash recognize vi keystrokes after login?()

    • A、 history-pvi
    • B、 alias emacs=vi
    • C、 HISTCMD=vi
    • D、 set -o vi
    • E、 unset emacs

    正确答案:D

  • 第4题:

    Which command will increase the contiguous free space of a file system without having to add additional partitions?()

    • A、chfs
    • B、fsck
    • C、chlv
    • D、defragfs

    正确答案:D

  • 第5题:

    Content filtering enables traffic to be permitted or blocked based on inspection of which three types of content?()(Choose three.)

    • A、MIME pattern
    • B、file extension
    • C、IP spoofing
    • D、POP3
    • E、protocol command

    正确答案:A,B,E

  • 第6题:

    Which is not a valid way of backing up a control file?()  

    • A、 Backing up the control file to trace
    • B、 Copying the existing control file of the database to the backup location during a hot backup 
    • C、 Copying the existing control file of the database to the backup location during a cold backup
    • D、 Creating a backup control file
    • E、 Using the create controlfile command

    正确答案:B

  • 第7题:

    单选题
    Which is not a valid way of backing up a control file?()
    A

     Backing up the control file to trace

    B

     Copying the existing control file of the database to the backup location during a hot backup 

    C

     Copying the existing control file of the database to the backup location during a cold backup

    D

     Creating a backup control file

    E

     Using the create controlfile command


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

  • 第8题:

    单选题
    Which command will increase the contiguous free space of a file system without having to add additional partitions?()
    A

    chfs

    B

    fsck

    C

    chlv

    D

    defragfs


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

  • 第9题:

    单选题
    Which of the following local files is used to run the date command on the remote machine "Earth" using the following rexec command without request for a password? rexec Earth date()。
    A

    ~/ .rhosts

    B

    $HOME/.netrc

    C

    /etc/hosts.equiv

    D

    /etc/security/user


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

  • 第10题:

    单选题
    Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into a bash initialization file will have bash recognize vi keystrokes after login?()
    A

     history-pvi

    B

     alias emacs=vi

    C

     HISTCMD=vi

    D

     set -o vi

    E

     unset emacs


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

  • 第11题:

    单选题
    A user is unable to determine the default system text editor. How can the local administrator assist the user by identifying the default text editor for the system?()
    A

    Login as the user and run ’echo $ENV’.

    B

    Login as root and run the ’env’ command.

    C

    Login as root and ’cat /etc/environment’.

    D

    Login as the user and run the ’env’ command.


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

  • 第12题:

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


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

  • 第13题:

    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

    正确答案:C

  • 第14题:

    A user is unable to determine the default system text editor. How can the local administrator assist the user by identifying the default text editor for the system?()

    • A、Login as the user and run ’echo $ENV’.
    • B、Login as root and run the ’env’ command.
    • C、Login as root and ’cat /etc/environment’.
    • D、Login as the user and run the ’env’ command.

    正确答案:B

  • 第15题:

    An administrator has set up serverA and serverB to use the /etc/hosts.equiv file so that applications on serverA can remotely run commands on serverB. Which command will verify if a new user from serverA is trusted on serverB?()

    • A、As the root user from serverA run the command rhost serverB
    • B、As the root user from serverA run the command rlogin serverB
    • C、As the desired user from serverB run the command rhost serverA
    • D、As the desired user from serverA run the command rlogin serverB

    正确答案:D

  • 第16题:

    An administrator received a call from a user whose PC crashed while using vi to edit a file. The user wants the edited file back. Where should the administrator look for the file()

    • A、/tmp
    • B、/var/preserve
    • C、/var/tmp/$USER
    • D、$HOME/.vi

    正确答案:B

  • 第17题:

    Which substitution variable would you use if you want to reuse the variable without prompting the user each time? ()

    • A、&
    • B、ACCEPT
    • C、PROMPT
    • D、&&

    正确答案:D

  • 第18题:

    Which command enables a user to exit the vi editor, overwriting the existing file without prompting for confirmation?()

    • A、:w
    • B、:qw
    • C、:x!
    • D、:we!

    正确答案:C

  • 第19题:

    单选题
    Which substitution variable would you use if you want to reuse the variable without prompting the user each time? ()
    A

    &

    B

    ACCEPT

    C

    PROMPT

    D

    &&


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

  • 第20题:

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


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

  • 第21题:

    单选题
    An administrator received a call from a user whose PC crashed while using vi to edit a file. The user wants the edited file back. Where should the administrator look for the file()
    A

    /tmp

    B

    /var/preserve

    C

    /var/tmp/$USER

    D

    $HOME/.vi


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

  • 第22题:

    单选题
    An administrator has set up serverA and serverB to use the /etc/hosts.equiv file so that applications on serverA can remotely run commands on serverB. Which command will verify if a new user from serverA is trusted on serverB?()
    A

    As the root user from serverA run the command rhost serverB

    B

    As the root user from serverA run the command rlogin serverB

    C

    As the desired user from serverB run the command rhost serverA

    D

    As the desired user from serverA run the command rlogin serverB


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

  • 第23题:

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


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