Terminal shortcuts under Ubuntu

Source: Internet
Author: User

Terminal is a command line terminal that starts the default shell of the system. shell is a program that interprets and executes the commands entered at the command line prompt.

Start Terminal
1. In the application search bar on the panel homepage, enter the command gnome-terminal and select the terminal application.
2. Enter the gnome-terminal command on the terminal to enter the terminal ".
3. Press the keyboard shortcut key (you need to set the shortcut key for the terminal to run, usually CTRL + ALT + T) to enter the terminal ".
4. You can add an additional Startup Program to start the "terminal" when starting the instance ".

Search for "terminal" applications on the panel Homepage

Terminal settings
Terminal settings mainly include: configuration file preferences and keyboard shortcut settings. Select the "edit" menu to go to the relevant settings.

Create a terminal Tab
1. Click Ctrl + Shift + T to create a new tab.
2. Choose File> Open tab.
3. Right-click the terminal (or press the application key on the keyboard) and select "Open tab.

Common Terminal shortcut keys by default

 Shortcut Key
 Description
 CTRL + ALT + T
 Start the terminal
 F1  Open Help Guide
 F10  Activation menu bar
 F11  Full Screen Switch
 Alt + F  Open the File menu)
 Alt + E  Open the "edit" menu (edit)
 Alt + V  Open the View menu)
 Alt + S  Open the search menu)
 Alt + T  Open the terminal menu (Terminal)
 Alt + H  Open the "help" menu (HELP)
 CTRL + Shift + c  Copy
 CTRL + Shift + V  Paste
 CTRL + Shift + T  Create a tab
 CTRL + Shift + W  Close Tab
 CTRL + Shift + n  New terminal window
 CTRL + Shift + q  Close terminal window
 CTRL + Shift + pgup  Move tab left
 CTRL + Shift + pgdn  Right Shift of tab
 Alt + n  Switch to the N tab (n = 0... 9)
 CTRL + pgup  Switch to the previous tab (page up)
 CTRL + pgdn  Switch to the next tab (Pagedown)
 CTRL + ALT + FN  Switch to the character interface (n = 1... 6)
 To switch back to the graphic interface, use CTRL + ALT + F7 or Alt + F7
 CTRL + shift ++  Enlarge the window (including the font in the window)
 CTRL +-  Abbreviated window (including the font in the window)
 CTRL + 0  Normal size (Arabic digit 0)
 CTRL + d
 Executing in the blank space will end the current session (same as the exit command)
 CTRL + P  Display the previous history command (same as the up arrow function)
 CTRL + n
 Display the next historical command (same as the down arrow function)
 CTRL + R  Reverse search history commands
 CTRL + O  Press enter (same as the Enter key function)
 CTRL + J  Press enter (same as the Enter key function)
 CTRL + m  Press enter (same as the Enter key function)
 CTRL +
 Move cursor to the beginning of Line
 CTRL + E
 Move the cursor to the end of the row
 CTRL + B
 Move the cursor one position backward (backward)
 CTRL + F
 Move the cursor forward to a position (forward)
 CTRL + Left-Arrow
 Move cursor to the first word of the previous word
 CTRL + right-Arrow
 Move cursor to the end of the next word
 CTRL + T
 Exchanges The character at the cursor position with the first character.
 CTRL + u  Cut all characters starting from the beginning of the line to the previous position of the cursor
 CTRL + k  Cut all characters from the cursor position to the end of the line
 CTRL + Y  Paste the content cut by Ctrl + U or Ctrl + k
 CTRL + H
 Delete the previous character at the cursor position (same as the backspace key function)
 CTRL + *  Delete the previous character at the cursor position (same as the CTRL + H key combination function)
 CTRL + d
 Delete A character at the cursor position (same as the delete key function)
 CTRL + W
 Delete the previous word at the cursor position (same as the Alt + backspace key combination function)
 CTRL + &
 Restore the content deleted by Ctrl + H, CTRL + D, or Ctrl + W.
 CTRL + L
 Clear the current screen content (same as the clear command function)
 CTRL + S
 Pause screen output
 CTRL + q
 Continue screen output


Tips
Press the tab key twice in a command prompt in the terminal window, press the ESC key three times in a row, or press Ctrl + I to display the names of all commands and tools.

Differences between Ubuntu and centos on Terminal Operations
Ubuntu

Switch to the character interface: CTRL + ALT + FN (n = 1... 6); switch back to the graphic interface: CTRL + ALT + F7 or Alt + F7.
Switch to the character interface of centos: CTRL + ALT + FN (n = 2... 6); switch back to the graphic interface: CTRL + ALT + F1 or Alt + F1.

Application key
The key on the left of the right ctrl key on the keyboard, which is equivalent to right-clicking.

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.