40 Arch Linux Keyboard Shortcuts

TL;DR

Arch Linux exposes three layers of shortcuts:
SysRq
(kernel-level, always work),
virtual console
(switch TTYs, scroll buffers), and
Readline/terminal
(cursor movement, kill ring, history search). The most critical sequence to memorize is
REISUB
A safe way to reboot a frozen system without losing data.

Arch Linux gives you direct, unmediated control of your machine. That philosophy extends to the keyboard: from the Linux kernel’s SysRq interface all the way to Readline’s Emacs-derived editing commands, knowing these shortcuts separates a productive Arch user from someone who reboots with the power button and loses unsaved work.

This reference is organized from lowest level (kernel) to highest level (shell input), so you understand why each layer exists and when to use it.

SysRq (kernel-level) shortcuts

The Magic SysRq key is a direct line to the Linux kernel. These shortcuts bypass userspace entirely they work even when your desktop environment has frozen, your shell is unresponsive, or a runaway process has consumed all resources. On most keyboards, Sys Rq shares a key with Print Screen.

⚠ Caution
SysRq must be enabled on your system. Check with cat /proc/sys/kernel/sysrq. A value of 1 means all SysRq functions are enabled. To enable permanently, add kernel.sysrq=1 to /etc/sysctl.d/99-sysrq.conf.

ActionShortcut
Take control of keyboard back from XAlt + Sys Rq + R
Send SIGTERM to all processesAlt + Sys Rq + E
Send SIGKILL to all processesAlt + Sys Rq + I
Sync flush data to diskAlt + Sys Rq + S
Unmount remount all filesystems read-onlyAlt + Sys Rq + U
Reboot immediatelyAlt + Sys Rq + B

The REISUB safe reboot sequence

When your system freezes completely, don’t hold the power button that risks filesystem corruption. Instead, use the REISUB sequence: six SysRq commands pressed in order, with a 1–2 second pause between each step.

R · E · I · S · U · B press in order, ~2 seconds apart

R Alt+Sys Rq+RRetake keyboard from X display server
E Alt+Sys Rq+EEnd all processes (SIGTERM — graceful)
I Alt+Sys Rq+IImmediately kill remaining processes (SIGKILL)
S Alt+Sys Rq+SSync all data to disk
U Alt+Sys Rq+UUnmount filesystems (remount read-only)
B Alt+Sys Rq+BBoot (reboot the system)

Mnemonic: “Raising Elephants Is So Utterly Boring”

⚠ Important
Wait for each step to complete before pressing the next key. After pressing S (Sync), wait until you see “Emergency Sync” in your kernel log or allow 2–3 seconds. Rushing through corrupts the purpose of syncing.

Virtual console shortcuts

Linux provides up to 6 virtual consoles (TTYs) accessible from any state, including when X or Wayland has crashed. If you’re running a desktop environment, it typically occupies Alt+F7.

ActionShortcut
Reboot computerCtrl + Alt + Del
Switch to n-th virtual consoleAlt + F1 – F6
Switch to previous virtual consoleAlt + ←
Switch to next virtual consoleAlt + →
Lock/unlock console input & outputScroll Lock
Scroll console buffer upShift + Page Up
Scroll console buffer downShift + Page Down

Terminal control shortcuts

These shortcuts send Unix signals to processes running in your terminal. Understanding the difference between them prevents accidentally losing work.

ActionShortcut
Kill current task (SIGINT)Ctrl + C
Insert an EOF (end of file)Ctrl + D
Pause (suspend) current taskCtrl + Z
Clear the screenCtrl + L

Cursor navigation (Readline)

Readline is the input library used by bash, zsh, and most interactive command-line tools. Its shortcuts are inherited from GNU Emacs key bindings learning them makes you faster in both your shell and any Emacs-style editor.

ActionShortcut
Move cursor one character to the leftCtrl + B
Move cursor one character to the rightCtrl + F
Move cursor one word to the leftAlt + B
Move cursor one word to the rightAlt + F
Move cursor to start of the lineCtrl + A
Move cursor to end of the lineCtrl + E

Cut & paste the Readline kill ring

Readline maintains a kill ring a circular buffer of everything you’ve cut. Ctrl+Y pastes the most recent item; Alt+Y cycles backward through earlier cuts. This is far more powerful than a single clipboard.

ActionShortcut
Cut from line start to cursorCtrl + U
Cut from cursor to end of lineCtrl + K
Cut the current word after the cursorAlt + D
Cut the current word before the cursorCtrl + W
Paste the most recently cut text (yank)Ctrl + Y
Cycle to previous cut textAlt + Y
Paste first argument of previous commandAlt + Ctrl + Y
Paste last argument of previous commandAlt + . / Alt + _

History & search Shortcuts

Readline’s reverse incremental search (Ctrl+R) is one of the most productive shortcuts in any shell. Start typing any part of a previous command and it finds the most recent match instantly.

ActionShortcut
Move to previous line in historyCtrl + P
Move to next line in historyCtrl + N
Reverse incremental searchCtrl + R
Forward incremental searchCtrl + S
End search, execute matched commandCtrl + J
Abort search, restore original lineCtrl + G
Restore all changes made to lineAlt + R

Auto-completion Shortcuts

Tab completion in bash is powered by Readline. Tab alone completes unambiguous names; when ambiguous, a second Tab or Alt+? lists all options. Alt+* inserts every possible completion at once useful for bulk operations.

ActionShortcut
Auto-complete a nameTab
List all possible completionsAlt + ?
Insert all possible completionsAlt + *

Full quick-reference table

All shortcuts in one place, with category labels for scanning.

CategoryActionShortcut
SysRqRetake keyboard from XAlt+Sys Rq+R
SysRqSIGTERM all processesAlt+Sys Rq+E
SysRqSIGKILL all processesAlt+Sys Rq+I
SysRqSync to diskAlt+Sys Rq+S
SysRqUnmount / remount read-onlyAlt+Sys Rq+U
SysRqRebootAlt+Sys Rq+B
ConsoleReboot (systemd target)Ctrl+Alt+Del
ConsoleSwitch to n-th TTYAlt+F1–F6
ConsolePrevious virtual consoleAlt+←
ConsoleNext virtual consoleAlt+→
ConsoleLock/unlock I/OScroll Lock
ConsoleScroll buffer upShift+Page Up
ConsoleScroll buffer downShift+Page Down
ControlKill task (SIGINT)Ctrl+C
ControlInsert EOFCtrl+D
ControlSuspend task (SIGTSTP)Ctrl+Z
ControlClear screenCtrl+L
CursorCursor left one charCtrl+B
CursorCursor right one charCtrl+F
CursorCursor left one wordAlt+B
CursorCursor right one wordAlt+F
CursorCursor to line startCtrl+A
CursorCursor to line endCtrl+E
Kill ringCut start → cursorCtrl+U
Kill ringCut cursor → endCtrl+K
Kill ringCut word after cursorAlt+D
Kill ringCut word before cursorCtrl+W
Kill ringPaste latest cutCtrl+Y
Kill ringPaste previous cutAlt+Y
Kill ringPaste 1st arg of prev cmdAlt+Ctrl+Y
Kill ringPaste last arg of prev cmdAlt+.
HistoryPrevious history lineCtrl+P
HistoryNext history lineCtrl+N
HistoryReverse history searchCtrl+R
HistoryForward history searchCtrl+S
HistoryEnd search / executeCtrl+J
HistoryAbort searchCtrl+G
HistoryRestore line changesAlt+R
CompletionAuto-complete nameTab
CompletionList all completionsAlt+?
CompletionInsert all completionsAlt+*

Sources: Arch Wiki – Keyboard shortcuts · GNU Readline docs · Linux kernel SysRq docs

READ NEXT:

Back to top button