Linux Terminal Shortcuts
Linux Terminal keyboard shortcuts with key combinations, actions, and usage notes.
How to use this reference
Use this category reference to find shortcuts for the platform shown. Start with the section for your operating system, read the action and description, and try the shortcut in an appropriate application. Keys joined with a plus sign are held together; alternatives let you choose the combination that works on your keyboard. A gesture requires a compatible touchpad or touch screen rather than a physical keyboard.
Before practicing, check which window has focus. Text fields, browser tabs, terminal sessions, and system dialogs can interpret the same keys differently. Save any open work before testing commands that close a window, delete content, or change system settings. Accessibility commands may need to be enabled in settings first, and a laptop may require the Fn key for function keys. If a combination is intercepted by an application or a custom keymap, consult its built-in help and your operating system settings. Follow the full platform guide for related commands and additional context.
Ubuntu Linux
| Action | Shortcut | Description |
|---|---|---|
| New Terminal Tab | Ctrl + Shift + T | Open a new tab in GNOME Terminal |
| New Terminal Window | Ctrl + Shift + N | Open a new GNOME Terminal window |
| Close Tab | Ctrl + Shift + W | Close the current terminal tab |
| Clear Screen | Ctrl + L | Clear the terminal output |
| Previous Command | Up | Recall the previous command from history |
| Search History | Ctrl + R | Reverse-search through command history (type to filter) |
| Interrupt / Cancel | Ctrl + C | Stop the currently running command |
| End of File / Exit | Ctrl + D | Send EOF — exits the shell or closes the tab |
| Autocomplete | Tab | Autocomplete commands, paths, and filenames |
| Move to Start of Line | Ctrl + A | Move cursor to the beginning of the command line |
| Move to End of Line | Ctrl + E | Move cursor to the end of the command line |
| Delete to Start of Line | Ctrl + U | Delete everything from cursor back to line start |
| Delete to End of Line | Ctrl + K | Delete everything from cursor to end of line |
| Delete Word Left | Ctrl + W | Delete the word to the left of the cursor |
| Zoom In (Terminal) | Ctrl + + | Increase terminal font size |
| Zoom Out (Terminal) | Ctrl + - | Decrease terminal font size |