Bash shortcuts

View source | View history | Atom feed for this file

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. In retrospect, most of these were a terrible idea and you should just install fzf. I don’t even think they are useful in scripting.

Completions

Scrolling

Backlinks