Linux terminal shortcut key summary

Source: Internet
Author: User

1. Tab
Shift + Ctrl + T: Create a tab
Shift + Ctrl + W: Close the tab
CTRL + Pageup: Previous Tab
CTRL + Pagedown: Next Tab
Shift + Ctrl + Pageup: tab left shift
Shift + Ctrl + Pagedown: Right Shift of the tab
Alt + 1: Switch to Tab 1
Alt + 2: Switch to Tab 2
Alt + 3: Switch to tab 3

2. Window
Shift + Ctrl + N: New window
Shift + Ctrl + Q: Close the terminal

3. Copy/paste:
Shift + Ctrl + C: Copy
Shift + Ctrl + V: Paste

4. Change the size:
F11: Full Screen
CTRL + plus: Zoom in
CTRL + minus: Decrease
CTRL + 0: original size

5. move the cursor
CTRL + F move one character forward
CTRL + B move one character backward
Alt + F move a word forward
Alt + B move one word backward
CTRL + a move to the beginning of the current row
CTRL + e move to the end of the current row
CTRL + l clear the screen and start a new line at the top of the screen

6. Edit the command line
CTRL + D Delete the current character
CTRL + T switch the position of the current character and the previous character
Alt + t exchange the position of the current word and the previous word
Alt + u converts the current word to uppercase
Alt + l convert the current word to lowercase
Alt + C converts the current word into an uppercase word
CTRL + V add a special character. For example, to add a tab, press Ctrl + V + TAB.

7. cut and paste shortcuts
CTRL + k cut the text until the end of the row
CTRL + u cut the text until the beginning of the line
CTRL + W cut the word before the cursor
Alt + d cut the word behind the cursor
CTRL + y paste the recently cut text // is this command invalid?
Alt + y roll back to the previously cut text and paste it
CTRL + C Delete the entire row

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.