Keyboard shortcuts in Linux are a great tool that can help you work more efficiently. Instead of using the mouse and navigating the menus, you can often press a couple of buttons to get you to the same result much quicker.
Linux operating systems support a wide range of these shortcuts, or hotkeys. It’s important to note that each OS can have specific hotkeys that might not work in other distributions. However, you can fix that as users can add new or modify existing combinations in their system settings.
Choose your server now!
In this article, we will cover universal key combinations that are universal across different desktop environments. Most of the Linux hotkeys we examine are focused on working with the terminal.
The commands in this article sometimes use the Super key, which corresponds to the Windows key in Windows OS or the Cmd key in macOS. For example, the shortcut to switch keyboard layouts Super + Space in Linux is similar to Windows + Space or Cmd + Space.
Let’s start with basic general-purpose shortcuts. They help perform repetitive tasks more quickly.
These combinations help any specialist work more efficiently in Linux. But let’s move on to the more useful terminal-related hotkeys.
The terminal in Linux is the primary tool for interacting with the command shell. Below are terminal hotkeys that will help you work more efficiently.
These shortcuts help open, switch, and close terminal tabs and windows quickly:
Linux users primarily use the keyboard in the terminal. To avoid switching to the mouse, here are some shortcuts for faster cursor navigation:
In addition to quickly moving the cursor along the line, you can also simplify input and editing of commands.
These shortcuts allow interaction with the clipboard in the terminal: copying, cutting, or pasting parts of a line or the entire line.
Hotkeys also help interact with the command history in the terminal. This is useful when searching for previously used commands.
To view the list of executed commands, use:
history
To quickly find and execute a previously used command, use the shortcuts below:
The following shortcuts control the amount of information displayed in the terminal window and help focus on specific data even during a running process.
A Linux user may find that some combinations do not work or are missing entirely. Hotkeys may differ depending on the distribution as each system includes a default list of predefined shortcuts. However, in most Linux environments, users can create new shortcuts or modify existing ones.
Choose your server now!
This article reviewed the main Linux hotkeys that simplify and speed up user workflow. It’s important to note that this is not a complete list. In addition to those listed, there are other combinations that cover different functionalities in Linux distributions.
And if you’re looking for a reliable, high-performance, and budget-friendly solution for your workflows, Hostman has you covered with Linux VPS Hosting options, including Debian VPS, Ubuntu VPS, and VPS CentOS.
While they vary by desktop environment (GNOME, KDE, etc.), standard global shortcuts include:
Ctrl+Alt+T: Open a new Terminal window.
Alt+Tab: Switch between open applications.
Super Key (Windows Key): Open the Activities overview or Application menu.
Alt+F4: Close the current window.
Terminal shortcuts differ from standard text editors. Key commands include:
Ctrl+Shift+C / V: Copy and Paste text (standard Ctrl+C/V won't work).
Ctrl+C: Interrupt (kill) the currently running process.
Ctrl+L: Clear the terminal screen.
Ctrl+A / Ctrl+E: Jump the cursor to the start or end of the line.
Open your system Settings and select Keyboard. Scroll to the "Keyboard Shortcuts" section (sometimes under "View and Customize Shortcuts"). Here you can modify existing keys or add a custom shortcut by defining a command and pressing the desired key combination.
Simply press the modifier keys (like Ctrl, Alt, or Super) and the action key simultaneously. Note that Linux shortcuts are case-sensitive regarding the Shift key; for example, Ctrl+c is different from Ctrl+Shift+C.