Key Combinations

From ITS Wiki - Information Technology Services - University of Rhode Island

Jump to: navigation, search
Tux.png Linux

This page is part of a category. To see more pages like this, go to the Linux index.
Important.png ATTENTION
This article is for experienced users ONLY. Do not attempt the following if you are unfamiliar with the material. If in doubt, please contact the Help Desk at 874-HELP.


Console/Terminal Key Combos

  • Ctrl-Alt-Del: Shuts down the computer.
  • Alt-Fn-F(1, 2, 3...): Switches to the n-th console.
  • Alt-Arrow: Switch to Next or Previous Virtual Terminal.
  • Scroll Lock: Lock Terminal Input/Output. Press again to Unlock.
  • Ctrl-S/Ctrl-Q: Enable/Disable Screenlock.
  • Shift-PgUp/Shift-PgDown: Scroll console Page Up or Page Down. Works when Scroll Lock is enabled.
  • Ctrl-L: Screen Refresh
  • Ctrl-C or Ctrl-\: Kill current task.
  • Ctrl-D: EOF, Kills bash.
  • Ctrl-Z: Pause process, use bg to run in background and fg to run in foreground.

Bash / Command Line Key Combos

  • Ctrl-A: Move cursor to the beginning of the line.
  • Ctrl-E: Move cursor to the end of the line.
  • Ctrl-K: Clears everything to the right of the cursor.
  • Ctrl-U: Clears everything to the left of the cursor.
  • Ctrl-Y: Pastes anything deleted by Ctrl-U, Ctrl-K or Ctrl-W.
  • Tab: Completes current command line.
  • Ctrl-R: Followed by characters, will do an incremental search of the command history.

Kernel Key Combos

The Following shortcuts must be enabled in kernel, they also must be enabled using proc interface (echo 1 > /proc/sys/kernel/sysrq).

  • Alt-SysRQ-S: Sync all mounted file systems. Data in buffers is immediately written to disks.
  • Alt-SysRQ-U: Remounts mounted file systems in Read Only.
  • Alt-SysRQ-B: Perform an immediate reboot. Do not perform without synching/unmounting or it can cause file corruption.
  • Alt-SysRQ-S, Alt-SysRQ-U, Alt-SysRQ-B: Sync, remount read-only, reboot. This is the fastest way to reboot Linux.
  • Alt-SysRQ-H: Print a list of other SysRQ functions.

X-Windows Key Combos

  • Ctrl-Alt-+/-: If X-Windows is configured for multiple resolutions, change resolution up or down.
  • Ctrl-Alt-Bkspc: Kill X-Server. Running applications will be terminated (Recently Disabled in the most recent Ubuntu distributions).
  • Ctrl-Alt-Esc-Click Application: Kills an application (If using the KDE 4 Window Manager).
  • Ctrl-Shift-NumLock: Turn the keyboard keypad into the mouse.
    • 5 becomes mouse click.
    • / becomes left mouse click.
    • * becomes right mouse click.
    • Other numpad keys become directional components.
  • Ctrl-Alt-FunctionKey (F1, F2, F3..): Switch to the n-th text console.

KDE Key Combos

  • Ctrl-Alt-Shift-PgDwn: Direct shutdown.
  • Ctrl-Alt-Shift-PgUp: Direct reboot.
  • Alt-F2: Starts the Run command box.
    • Type an application name to execute it.
    • Type a folder name to open it.
    • Type a file name to launch the application to open it.
    • Type a URL to launch the URL with konqueror.

Related Links:

 http://www.schabell.com/linux-courses/