Linux terminal shortcut

Source: Internet
Author: User


Frequently used: copy it As ctrl-shift-c and paste it As ctrl-shift-v tab = complete ctrl + a = start position ctrl + e = last position ctrl + k = delete all content from here to the end ctrl + u = delete all content from here to start Ctrl-L-Refresh screen Ctrl-C-kill current task www.2cto.com more complete: window operation: Shift + Ctrl + T: new tab Shift + Ctrl + W: close tab Ctrl + PageUp: Previous tab Ctrl + PageDown: next tab Shift + Ctrl + PageUp: shift + Ctrl + PageDown tab: Right Shift of tab + 1: Switch to Tab 1 Alt + 2: Switch to Tab 2 Alt + 3: Switch to tab 3 Shift + Ctrl + N: new window Shift + Ctrl + Q: Disable copy/paste in the terminal: Shift + Ctrl + C: Copy Shift + Ctrl + V: paste Terminal change size: F11: full screen Ctrl + plus: Zoom Ctrl + minus: Ctrl + 0: original size www.2cto.com history display command history list ← (Ctrl + p) display the previous command ← (Ctrl + n) show the next command! Num: The num command in the History list !! Run the previous command !? String? Execute the latest command Ctrl + r that contains a string, enter several characters, start to search for the command that contains this character, continue to press Ctrl + r, search for the last matched command Ctrl + s is similar to Ctrl + r, except that the last item of the Historical List Ctrl + f cursor moves forward to the Historical List Alt + <first item of the Historical List Alt +>, equivalent to-> Ctrl + B Move a character behind the cursor, equivalent to <-Alt + f move the cursor forward a word Alt + B move the cursor backward a word ls! $ Execute the command ls, the parameters of the preceding command include Ctrl + a, Ctrl + e, and the start of the current row. Esc + B is moved to the end of the current row. Esc + f is moved to the start of the current word. ctrl + l clear screen Ctrl + u cut all the characters before the cursor position in the command line (excluding itself) ctrl + k cut all characters (including itself) after the cursor in the command line) ctrl + d Delete the character Ctrl + h Delete the character Ctrl + y paste the character Ctrl + w cut the word before the cursor space, punctuation, etc) alt + d cut the word www.2cto.com Esc + w after the cursor to delete the character before the cursor to the end of the word (with space, punctuation, etc. as the separator) ctrl + t place the cursor upside down and its previous character positions, move the cursor to the next character Alt + t to swap the current and previous word positions Alt + u to convert the current word to uppercase Alt + l to convert the current word to lowercase Alt + c to change the current word it becomes the first character. Press Ctrl + v to insert special characters, for example, press Ctrl + v + Tab to add the Tab character key Esc + t to reverse the cursor and Its Adjacent word location Ctrl + c to delete the entire line Ctrl + (x u) press Ctrl and then press x and u to cancel the previous operation Ctrl + s to suspend the current shell Ctrl + q to re-enable the suspended shell author f059071_1

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.