Bash shortcuts

Here are some useful shortcuts when you’re working in Bash. Shortcuts are categorised by use.

These shortcuts will be familiar to those using Emacs. Many of the keybindings will also work in many line-based environments, e.g. REPLs for many languages, Python Jupyter console, MySQL prompt. Even Vim has vim-rsi to enable some of these.

Conventions

Movement

Editing

Processes

History

The following commands are useful if you want to execute similar commands from your history.

Completions

Scrolling