Linux Cloud Automation Operations Basics 2 (Basic operation of the system)

Source: Internet
Author: User

  1. Switch users
    : Enter su-username at the command prompt Note: Advanced users switch to low-level users do not require a password, low-level users need a password to switch identities. 650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/9C/29/wKiom1ls1w7Rbo-zAABScUOGXlw877.png-wh_500x0-wm_ 3-wmp_4-s_229062140.png "title=" screenshot from 2017-07-17 23-09-20.png "alt=" Wkiom1ls1w7rbo-zaabscuogxlw877.png-wh _50 "/>

    Note: There is no echo of the password here.


    2. Virtual Console: Ctrl+alt+f (1|7) into graphics
    Ctrl+alt+f (2~6) into the Virtual Console
    Red hat Enterprise Linux Server 7.0 (Maipo) # #系统版本
    Kernel 3.10.0-123.el7.x86_64 on a x86_64 # #内核版本, number of system bits


    3. Virtual Console #####
    Ctrl+alt+f (1|7) into the graph
    Ctrl+alt+f (2~6) into the Virtual Console


    4.ctrl +c # #撤销命名的执行
    Gnome-session-quit--force # # #注销用户--force forced logoff, do not ask
    Working interface conversion: ctrl+alt+ |


    5. Start Bash
    Applications>utilities>terminal
    right mouse button----->open in terminal
    Gnome-terminal
    Ctrl+shift+n # #在新窗口中打开shell
    Ctrl+shift+t # #同一个窗口中打开新的tab650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/9C/2A/ Wkiol1ls177jtlnxaadu8hngikg281.png-wh_500x0-wm_3-wmp_4-s_2914280110.png "title=" Screenshot from 2017-07-17 23-10-36.png "alt=" Wkiol1ls177jtlnxaadu8hngikg281.png-wh_50 "/>

    Create a bash in a new window, and create a shell in the original window.


    6. Exit: Exit | Ctrl+d

    650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/9C/2A/wKiom1ls2ECSqOF4AAAbnt2SkiI419.png-wh_500x0-wm_ 3-wmp_4-s_3758945865.png "title=" screenshot from 2017-07-17 23-12-25.png "alt=" Wkiom1ls2ecsqof4aaabnt2skii419.png-wh_50 "/>

    Exit here, the identity is returned from the normal user to the superuser (that is, the normal user identity is a sub-process of superuser identity), exit again to end this process.


    7. Lock Screen
    CTRL + Alt +l # #在rhel7.0
    Win key + L # #在rhel7.2

    8. The table key in the system can automatically complement the existing command, the file name and the parameters of some commands
    A+tab x2 shows all commands in a system.
    9. Around # #一个字符一个字符移动
    CTRL + Around # #一个字一个字移动
    CTRL + A # #光标移动到行首
    + E # #光标移动到行尾
    + U # #光标所在位置删除到行首
    + k # #光标所在位置删除到行尾
    + r+ keyword # #调出最近一条含有关键字的命令
    + C # #撤销以输入的命令
    + D # #关闭当前环境
    + L # #清空屏幕
    + SHIFT + C # #复制
    + SHIFT + V # #粘贴
    + SHIFT + t # #在现有shell中重新打开一个table
    + SHIFT + N # #在shell中打开一个新的shell
    + SHIFT + Pageup|pagedown # #切换table
    + ALT + L # # Lock Screen
    + ALT + top | down # #切换工作界面
    + ALT + F1|f7 # #进入图形界面
    + ALT + F2-f6 # #进入虚拟控制台


This article from the "13122425" blog, reproduced please contact the author!

Linux Cloud Automation Fundamentals 2 (Basic operation of the system)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.