Arch Linux keyboard shortcuts

Arch Linux

Zeynel -
6 years ago
- Shortcuts
These shortcuts are used to recover or debug an unresponsive system.  To use these, they must first be activated with either sysctl kernel.sysrq=1 or echo "1" > /proc/sys/kernel/sysrq. If you wish to have it enabled during boot, edit /etc/sysctl.d/99-sysctl.conf and insert the text kernel.sysrq = 1
1
Alt + Sys Rq + R

Take control of keyboard back from X

-1
Alt + Sys Rq + E

Send SIGTERM to all processes, allowing them to terminate gracefully

1
Alt + Sys Rq + I

Send SIGKILL to all process, forcing them to terminate immediately

0
Alt + Sys Rq + S

Sync - Flush data to disk

0
Alt + Sys Rq + U

Unmount - Unmound and remount all file systems read-only

-1
Alt + Sys Rq + B

Reboot

Advertisement

On Lenovo laptops SysRq is often configured as Fn+S. To use it press and hold Alt then press Fn+s, release Fn and s still holding Alt followed by the keys above.
You may need to press Ctrl along with Alt. So for example, full key shortcut would be Ctrl+Alt+SysRq+b
1
Ctrl + Alt + Del

Reboots Computer (specified by the symlink /usr/lib/systemd/system/ctrl-alt-del.target)

-1
Alt + F1

(F2, F3, …) Switch to n-th virtual console

0
Alt +

Switch to previous virtual console

-1
Alt +

Switch to next virtual console

1
Scroll Lock

When Scroll Lock is activated, input/output is locked

2
Shift + Page Up

Scroll console buffer up

0
Shift + Page Down

Scroll console buffer down

0
Ctrl + C

Kills current task

0
Ctrl + D

Inserts an EOF

0
Ctrl + Z

Pauses current task

1
Ctrl + L

Clear the screen

0
Ctrl + B

Move cursor one character to the left

0
Ctrl + F

Move cursor one character to the right

0
Alt + B

Move cursor one word to the left

0
Alt + F

Move cursor one word to the right

0
Ctrl + A

Move cursor to start of the line

0
Ctrl + E

Move cursor to end of the line

0
Ctrl + U

Cut everything from line start to cursor

0
Ctrl + K

Cut everything from the cursor to end of the line

0
Alt + D

Cut the current word after the cursor

0
Ctrl + W

Cut the current word before the cursor

0
Ctrl + Y

Paste the previous cut text

0
Alt + Y

Paste the second latest cut text

0
Alt + Ctrl + Y

Paste the first argument of the previous command

-1
Alt + ./_

Paste the last argument of the previous command

0
Ctrl + P

Move to the previous line

0
Ctrl + N

Move to the next line

1
Ctrl + S

Search

0
Ctrl + R

Reverse search

-1
Ctrl + J

End search

0
Ctrl + G

Abort search (restores original line)

0
Alt + R

Restore all changes made to line

1
Tab

Auto-complete a name

0
Alt + ?

List all possible completions

0
Alt + *

Insert all possible completions

0
Ctrl + Alt + F1

(F2, F3, …) Switch to n-th virtual console. If it doesn't work, try  Ctrl + Fn + Alt + F

0
↑  Shift + Insert

Paste text from the PRIMARY buffer

0
or
    Note: By default, Qt maps Shift+Insert to CLIPBOARD instead of the PRIMARY buffer and Ctrl+Shift+Insert is mapped to the PRIMARY buffer.
    Source: ArchWiki

Share this page on:
Is this page helpful?
0 0

Program information

Program name: Arch Linux Arch Linux (General)

Arch Linux is a Linux distribution that follows KISS principle ("keep it simple, stupid"). The distribution focuses on elegance, minimalism, simplicity and code correctness.

Web page: archlinux.org

Last update: 3/4/2021 11:30 AM UTC

How easy to press shortcuts: 73%

More information >>

Shortcut count: 44

Platform detected: Windows or Linux

Similar programs



User operations

Add Arch Linux to favorites

Add to favorites

Advertisement


What is your favorite Arch Linux hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!