Linux and the Keyboard: A Natural Fit
Linux has always been a keyboard-first operating system. From its Unix roots with command-line interfaces to modern desktop environments like GNOME and KDE, keyboard efficiency is deeply embedded in the Linux philosophy. Power users, developers, and sysadmins who work on Linux tend to rely heavily on shortcuts — and the OS rewards them for it.
This guide covers essential keyboard shortcuts across the Linux desktop stack: desktop environment shortcuts, file manager navigation, terminal commands, and application-specific shortcuts. Whether you're new to Linux or looking to level up your workflow, these shortcuts will make you significantly faster.
GNOME Desktop Shortcuts
GNOME is the default desktop environment on Ubuntu, Fedora, and many other popular distributions. Its shortcuts are clean and consistent.
| Shortcut | Action |
|---|---|
| Super | Open Activities overview (app launcher + workspace view) |
| Super+A | Open the application grid (all apps) |
| Super+L | Lock the screen |
| Super+↑ | Maximize the current window |
| Super+↓ | Restore / unmaximize the window |
| Super+← / → | Snap window to left / right half |
| Super+Home | Switch to the first workspace |
| Ctrl+Alt+↑/↓ | Switch between workspaces |
| Ctrl+Alt+Shift+↑/↓ | Move current window to another workspace |
| Alt+Tab | Switch between open applications |
| Alt+` | Switch between windows of the same application |
| Alt+F2 | Open the command dialog (run a command) |
The Super key (usually the Windows key on your keyboard) is the gateway to GNOME. Pressing it opens the Activities overview where you can type to search for apps, files, and settings — similar to Spotlight on macOS.
KDE Plasma Shortcuts
KDE Plasma is highly customizable and has its own set of default shortcuts. If you're on Kubuntu, openSUSE, or KDE Neon, these are your starting point.
| Shortcut | Action |
|---|---|
| Super | Open the application launcher |
| Alt+Space | Open KRunner (command launcher and search) |
| Ctrl+F8 | Show desktop grid (all workspaces) |
| Ctrl+Alt+L | Lock the screen |
| Super+↑/↓/←/→ | Snap window to quarter or half of screen |
| Ctrl+F9 | Show all windows on current desktop (Exposé) |
| Ctrl+Alt+D | Show the desktop (minimize all windows) |
KDE's big advantage is customization. You can remap virtually any shortcut through System Settings → Shortcuts. If a default binding conflicts with your workflow, change it. KDE also supports custom global shortcuts that trigger any shell command.
Terminal Shortcuts
The terminal is where Linux power users spend a significant portion of their time. These shortcuts work in most terminal emulators (GNOME Terminal, Konsole, Alacritty, kitty) and are based on readline — the same input library used by Bash, Zsh, and many other shells.
| Shortcut | Action |
|---|---|
| Ctrl+C | Cancel the current command / send SIGINT |
| Ctrl+Z | Suspend the current process (resume with "fg") |
| Ctrl+D | Exit the shell (or send EOF) |
| Ctrl+L | Clear the terminal screen |
| Ctrl+R | Reverse search through command history |
| Ctrl+A | Move cursor to beginning of line |
| Ctrl+E | Move cursor to end of line |
| Ctrl+W | Delete the word before the cursor |
| Ctrl+U | Delete from cursor to beginning of line |
| Ctrl+K | Delete from cursor to end of line |
| Alt+B / Alt+F | Move cursor back / forward one word |
| !! | Repeat the last command (in Bash/Zsh) |
| sudo !! | Re-run last command with sudo |
Ctrl+R is the most underused terminal shortcut. It lets you search through your entire command history by typing a few characters. Press Ctrl+R, type "docker", and it finds your most recent docker command. Press Ctrl+R again to cycle through older matches.
File Manager Shortcuts
GNOME Files (Nautilus) and KDE's Dolphin are the two most common Linux file managers. Their shortcuts follow familiar patterns.
| Shortcut | Action |
|---|---|
| Ctrl+L | Edit the location bar (type a path) |
| Ctrl+T | Open a new tab |
| Ctrl+W | Close the current tab |
| Alt+↑ | Go to parent directory |
| Alt+← / → | Go back / forward in history |
| Ctrl+H | Toggle showing hidden files |
| F2 | Rename the selected file |
| Delete | Move to trash |
| Shift+Delete | Permanently delete (bypass trash) |
| Ctrl+Shift+N | Create a new folder |
Text Editing Shortcuts
These shortcuts work in most Linux text editors, browsers, and input fields. They're based on Emacs-style bindings that are built into GTK and Qt text widgets.
| Shortcut | Action |
|---|---|
| Ctrl+A | Select all text |
| Ctrl+C / Ctrl+V | Copy / Paste |
| Ctrl+X | Cut selected text |
| Ctrl+Z / Ctrl+Shift+Z | Undo / Redo |
| Ctrl+← / → | Move cursor word by word |
| Home / End | Move cursor to beginning / end of line |
| Ctrl+Home / End | Move cursor to beginning / end of document |
| Shift+Ctrl+← / → | Select word by word |
Power User Tips
- Use xdotool or xbindkeys to create custom global shortcuts that run any shell command. On Wayland, use wtype and sway/Hyprland key bindings instead.
- Set up Vi-style key bindings in your shell by adding "set -o vi" to your .bashrc or .zshrc. This lets you edit commands with Vim motions.
- Learn tmux shortcuts if you work with multiple terminal sessions. Ctrl+B is the default prefix — then d (detach), c (new window), n/p (next/previous window).
- Use Ctrl+Alt+T as a universal terminal launcher — it works on most Linux distributions out of the box.
- Master "Alt+." (Alt+period) in Bash — it inserts the last argument from the previous command. Useful for operations on the same file: "ls -la /some/path" then "cd Alt+.".
Customizing Linux Shortcuts
One of Linux's greatest strengths is customizability. You can remap any shortcut at multiple levels:
- Desktop environment: GNOME Settings → Keyboard → Keyboard Shortcuts. KDE System Settings → Shortcuts.
- Application level: Most Linux apps support custom keybindings in their settings.
- System level: Tools like xbindkeys (X11) or custom key bindings in your compositor config (Sway, Hyprland).
- Shell level: .inputrc for readline bindings, or shell-specific configurations.
The ability to customize at every level means you can build a shortcut system that exactly matches your workflow — something that's much harder to achieve on macOS or Windows.
Embrace the Keyboard
Linux rewards keyboard-driven workflows more than any other operating system. The tools are there, the customization options are endless, and the community actively shares configurations and tips. Start with the desktop and terminal shortcuts in this guide, then gradually customize your setup as you discover your preferences.
For a complete reference of shortcuts across all your Linux applications, browse our Linux shortcuts directory — searchable, organized by app and category, with downloadable PDF cheat sheets for every app.
Stop looking up shortcuts
KeyShortcut shows 4,888+ shortcuts for 107 apps in a floating panel that detects your active app automatically.
Stop looking up shortcuts
KeyShortcut shows 4,888+ shortcuts for 107 apps in a floating panel that detects your active app automatically.