单选题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?()Ahistory-pviBalias emacs=viCHISTCMD=viDs

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


相似考题
更多“单选题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-pviB  alias emacs=viC  HISTCM”相关问题
  • 第1题:

    影响BASHShell启动的脚本包括()

    • A、/etc/profile
    • B、~/.bash_profile
    • C、~/.bash_login
    • D、~/.profile
    • E、~/.bash_rc”

    正确答案:A,B,C,D,E

  • 第2题:

    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

  • 第3题:

    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

  • 第4题:

    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

  • 第5题:

    定义bash环境的用户文件是()。

    • A、bash&.bashrc
    • B、bashrc&.bash_conf
    • C、bashrc&bash_profile
    • D、.bashrc&.bash_profile

    正确答案:D

  • 第6题:

    影响BASHShell启动的脚本包括“/etc/profile”、“~/.bash_profile”、“~/.bash_login”、“~/.profile”和“~/.bash_rc”。


    正确答案:正确

  • 第7题:

    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

  • 第8题:

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


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

  • 第9题:

    单选题
    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
    解析: 暂无解析

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


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

  • 第12题:

    单选题
    What command should a system administrator run after using an editor to create the /etc/tunables/nextboot file?()
    A

    ksh -n nextboot

    B

    tunsave -a -f nextboot

    C

    tuncheck -r -f nextboot

    D

    diff $(vmtune) /etc/tunables/nextboot


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

  • 第13题:

    默认情况下,下列文件中,()不会影响BASH的启动过程。

    • A、/etc/profile
    • B、~/.bash_profile
    • C、~/.bash_login
    • D、~/.bash_logout

    正确答案:D

  • 第14题:

    What command should a system administrator run after using an editor to create the /etc/tunables/nextboot file?()

    • A、ksh -n nextboot
    • B、tunsave -a -f nextboot
    • C、tuncheck -r -f nextboot
    • D、diff $(vmtune) /etc/tunables/nextboot

    正确答案:C

  • 第15题:

    A user is unable to determine the default system texteditor. 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

  • 第16题:

    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

  • 第17题:

    关于BASH,下列说法中正确的是()

    • A、BASH是为GNU项目编写的一种Shell
    • B、BASH是BourneShell的扩展
    • C、BASH就是BourneShell
    • D、大多数Linux系统默认使用BASH
    • E、通过Cygwin,BASH也能移植到Windows系统中

    正确答案:A,B,D,E

  • 第18题:

    You have a login-path named "adamlocal" that was created by using the mysql_config_editor command. You need to check what is defined for this login_path to ensure that it is correct for you deployment. You execute this command: $mysql_config_editor print –login-path=adamlocal What is the expected output of this command?()

    • A、The command prints all parameter for the login-path. The password is replaced with stars
    • B、The command prints the encrypted entry for the login-path. The is only possible to see if an entry exists
    • C、The command prints all parameters for the login-path. The password is shown only when you provide the  –password option
    • D、The command prints all parameters for the login-path. The password is printed in plain tex

    正确答案:A

  • 第19题:

    多选题
    在一个终端中修改了环境变量配置文件.bash_profile后,要在此终端中让修改的文件立即生效,可用哪些方法()。
    A

    cat.bash_profile

    B

    ..bash_profile

    C

    morE.bash_profile

    D

    sourcE.bash_profile


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

  • 第20题:

    单选题
    定义bash环境的用户文件是()。
    A

    bash&.bashrc

    B

    bashrc&.bash_conf

    C

    bashrc&bash_profile

    D

    .bashrc&.bash_profile


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

  • 第21题:

    单选题
    You have a login-path named "adamlocal" that was created by using the mysql_config_editor command. You need to check what is defined for this login_path to ensure that it is correct for you deployment. You execute this command: $mysql_config_editor print –login-path=adamlocal What is the expected output of this command?()
    A

    The command prints all parameter for the login-path. The password is replaced with stars

    B

    The command prints the encrypted entry for the login-path. The is only possible to see if an entry exists

    C

    The command prints all parameters for the login-path. The password is shown only when you provide the  –password option

    D

    The command prints all parameters for the login-path. The password is printed in plain tex


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

  • 第22题:

    单选题
    以下说法错误的是()。
    A

    苹果操作系统存在Bash漏洞

    B

    Redhat操作系统存在Bash漏洞

    C

    Windows操作系统存在Bash漏洞

    D

    CentOS操作系统存在Bash漏洞


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

  • 第23题:

    单选题
    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
    解析: 暂无解析

  • 第24题:

    单选题
    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
    解析: 暂无解析