Linux: Bash Keys, Terminal Keys, Man Page Keys

By Xah Lee. Date: . Last updated: .

This pages show the bash keybinding, , man page keys, and terminal keys.

Bash Keys

These are the major keys of bash shell.

Moving cursor:

Deleting:

Paste:

Search Command History:

Special, Job Control:

〔➤see Linux: Job Control Tutorial

You can see most of special process control keys by stty -a. 〔➤see Linux: Terminal Control Sequence Keys

Note: arrows keys, page up/down keys, home/end keys, mouse scroll wheel, usually work too in modern terminal, such as gnome-terminal or xfce4-terminal.

By default, bash keys are the same as emacs's basic keys. 〔➤see Xah Emacs Tutorial

Bash keys can be customized in ~/.inputrc. See man readline. For a sample file of customized .inputrc, see: System-wide ErgoEmacs Keybinding for Windows, Mac, Bash.

Man Pages Keys

Here's the most important keys when viewing man page. Also works in paging programs such as {less, more}.

These keys are similar to vi's keys. (not exactly compatible. For example, page down in vi is 【Ctrl+f】, not 【f】.) 〔➤see vi tutorial

Terminal App Keys

Here's most important keys in Gnome terminal. (You can see the full list under menu 〖Edit ▸ Keyboard Shortcuts…〗)

System-Wide Virtual Console Keys

System-wide, 【Alt+F2】 pops a run dialoge. In Xfce desktop, the command name is xfrun4.

GNU Info Keys

〔➤see Linux: Bash Manual in Chapters, Using Emacs for Info

Linux Terminal Topic

  1. Linux: Bash Keys, Terminal Keys, Man Page Keys
  2. Linux: Bash Prompt, Add Color, DateTime
  3. Difference Between .bashrc, .profile, .bash_profile, …?
  4. Linux: How to use Virtual Console
  5. Linux: Terminal Control Sequence Keys
  6. Linux: Reset Terminal, Clear Screen History
  7. Linux: tmux Tutorial

  1. Linux: man page: text output, reading non-compressed man page, reading unformatted man page
  2. Linux: Bash Manual in Chapters, Using Emacs for Info
  3. Linux: BASH Shell Misc Tips
  4. Linux: Record a Terminal Session, Logging Shell Output

Linux Desktop Topic

  1. Linux: How to Switch to LXDE, Xfce
  2. Linux: LXDE Keyboard Shortcuts
  3. Linux: LXDE/Openbox, Change Keyboard Shortcuts
  4. Linux: LXDE Set Key Repeat Rate
  5. Linux: LXDE/OpenBox, Disable Mouse Scroll Wheel Hide Window
  6. Linux: Xfce Keyboard Shortcuts
  7. Linux: Xfce Good Themes
  8. Linux: xmonad Keybinding
  9. Why Tiling Window Manager Sucks (xmonad, ratpoison, dwm, …)


  1. Linux: Set Default App
  2. Linux: Shell Commands for GUI Apps
  3. Linux: Image Viewers
  4. Linux: Move File to Trash by Command