编程知识 cdmana.com

Common shortcut of Linux system

  • Command line shortcut key arrangement

    • Ctrl relevant

    1. The cursor moves quickly to the beginning of the line Crtl+a
    2. The cursor moves quickly to the end of the line Crtl+e
    3. Move the cursor one character to the right Crtl+f
    4. Move the cursor one character to the left Crtl+b
    5. Cut all the characters from the cursor to the end of the line Crtl+k
    6. Cut out all characters from the cursor to the beginning of the line Crtl+u
    7. Cut the cursor to the left of a space character Crtl+w
    8. Paste at the cursor u k w Clipped characters Crtl+y
    9. Interrupt the process running on the front end Crtl+c
    10. When the command behavior is empty, it is to exit the current shellCrtl+d
    11. Delete the character on the cursor when the command line is not empty Crtl+d
    12. Delete a character from the cursor position to the left Crtl+h
    13. Look up for historical orders Crtl+p
    14. Look down for historical orders Crtl+n
    15. Search history command Crtl+r
    16. Clear the screen Crtl+l
    17. Lock the terminal Crtl+s
    18. Unlock terminal Crtl+q
    19. The foreground process switches to the background and stops running ( It can be done by jobs View suspended tasks ,fg Back to the foreground ,bg Back in the background )Crtl+z
    20. Copy mouse selection (shift+insert Paste )Ctrl+insert
    • Alt relevant

    1. The cursor moves one word to the left Alt+b
    2. Move the cursor one word to the right Alt+f
    3. Delete a word from the cursor position to the right Alt+d
    • Bang(!) relevant

    1. Repeat the last command !!
    2. perform history The command that specifies the number of lines in !num
    3. Carry out the historical order with ## The first order !##

版权声明
本文为[Mr, w]所创,转载请带上原文链接,感谢
https://cdmana.com/2020/12/20201224172417496H.html

Scroll to Top