Linux terminal shortcut keys

Source: Internet
Author: User

Shear Board Operation

Ctrl+shi ft+c Replication
Ctrl+shift+v paste

Cursor operation

CTRL + a line start position
Ctrl+e Line Last position

CTRL+F (forwards) cursor moves backwards by one character, quite with →
Ctrl+b (backwards) cursor moves forward one character, quite with ←


Esc+b move to the beginning of the current word
Esc+f move to the end of the current word

Text Processing operations

Ctrl+u cutting cursor to the beginning of the line
Ctrl+k cut the cursor to the end of the line
CTRL+W cutting cursor to the beginning of the word
Alt+d cut the cursor to the ending content
Ctrl+d Delete Cursor is the same character as delete
Ctrl+h the character before deleting the cursor is equivalent to BACKSPACE
Ctrl+y Paste the character you just deleted
Ctrl+7 Restore the content just now
CTRL + (X U) undo the action you just made
Esc+t reverses the position of the cursor adjacent words
Alt+t reverses the position of the cursor adjacent words
Ctrl+t reverses the position of the cursor adjacent characters
Alt+c the character to the ending of the cursor to capitalize the first letter
Alt+u converts the character to the ending of the cursor to uppercase
Alt+l converts the character to the ending of the cursor to lowercase
CTRL + V inserts special characters, such as CTRL + (v. TAB) to join the Tab key

Task processing operations

CTRL + C Delete entire line/end
Ctrl+l Refresh Screen
Ctrl+s suspending the current shell
Ctrl+q to re-enable the suspended shell

TAB processing Operations

Shift+ctrl+t new tab page
Shift+ctrl+w closing Tabs
Ctrl+pageup previous Tab
Ctrl+pagedown after a tab page
Shift+ctrl+pageup Tab Shift Left
Shift+ctrl+pagedown Tab Right Shift
alt+1,2,3 ... Switch to Tab ...

Window operations

Shift+ctrl+n New Window
Shift+ctrl+q Closing the terminal
F11 fullscreen
Ctrl+plus magnification
Ctrl+minus reduction
ctrl+0 Original Size
Shift+uparrow Roll Up screen
Shift+downarrow rolling down the screen
Shift+pageup PAGE Up
Shift+pagedown PAGE Down

Historical command operations

↑ (Ctrl+p (previous)) Show previous command
↑ (Ctrl + N (next)) shows the next command
! Num executes the command history list num command
!! Executes the previous command
!? String? Executes the most recent command with string strings
alt+shift+, History list first item
alt+shift+. Last item in history list
Ctrl+r (Retrieve) string search for command with string string/Continue up search (Ctrl+s search down)
!$ parameters of one command above

Other operations

Ctrl+m equivalent to enter
Ctrl+o equivalent to enter
ctrl+[equivalent to ESC
ESC ESC ESC displays all supported commands
Tab tab to show all supported commands
CTRL + (I i) Show all supported commands
Ctrl+x shift+2 display may hostname complement
CTRL + (x x) moves at EOL and current cursor position


Linux terminal shortcut keys

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.