Skip to main content
← Guides

Mastering Linux Keyboard Shortcuts: Tips and Tricks

Reference10 min read·

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.

ShortcutAction
SuperOpen Activities overview (app launcher + workspace view)
Super+AOpen the application grid (all apps)
Super+LLock the screen
Super+↑Maximize the current window
Super+↓Restore / unmaximize the window
Super+← / →Snap window to left / right half
Super+HomeSwitch to the first workspace
Ctrl+Alt+↑/↓Switch between workspaces
Ctrl+Alt+Shift+↑/↓Move current window to another workspace
Alt+TabSwitch between open applications
Alt+`Switch between windows of the same application
Alt+F2Open 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.

ShortcutAction
SuperOpen the application launcher
Alt+SpaceOpen KRunner (command launcher and search)
Ctrl+F8Show desktop grid (all workspaces)
Ctrl+Alt+LLock the screen
Super+↑/↓/←/→Snap window to quarter or half of screen
Ctrl+F9Show all windows on current desktop (Exposé)
Ctrl+Alt+DShow 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.

ShortcutAction
Ctrl+CCancel the current command / send SIGINT
Ctrl+ZSuspend the current process (resume with "fg")
Ctrl+DExit the shell (or send EOF)
Ctrl+LClear the terminal screen
Ctrl+RReverse search through command history
Ctrl+AMove cursor to beginning of line
Ctrl+EMove cursor to end of line
Ctrl+WDelete the word before the cursor
Ctrl+UDelete from cursor to beginning of line
Ctrl+KDelete from cursor to end of line
Alt+B / Alt+FMove 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.

ShortcutAction
Ctrl+LEdit the location bar (type a path)
Ctrl+TOpen a new tab
Ctrl+WClose the current tab
Alt+↑Go to parent directory
Alt+← / →Go back / forward in history
Ctrl+HToggle showing hidden files
F2Rename the selected file
DeleteMove to trash
Shift+DeletePermanently delete (bypass trash)
Ctrl+Shift+NCreate 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.

ShortcutAction
Ctrl+ASelect all text
Ctrl+C / Ctrl+VCopy / Paste
Ctrl+XCut selected text
Ctrl+Z / Ctrl+Shift+ZUndo / Redo
Ctrl+← / →Move cursor word by word
Home / EndMove cursor to beginning / end of line
Ctrl+Home / EndMove 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.