Terminal and shell keyboard shortcuts

Almost everything here comes from readline, the line editor that bash and zsh both use. Readline is why the same keys work over SSH, inside a container, and in most other programs that read a line of input. The last two groups cover the terminal application itself, where macOS and Windows differ.

73 shortcutsWindows and MacChecked 18 September 2026

Checked against GNU — Readline command names and bindings and Microsoft — Windows Terminal actions. Version: bash 5 and zsh 5 with emacs bindings, the default.

73 shortcuts

The top 20 are the Terminal shortcuts this page marks as the ones to learn first, in the order they appear here. The drill asks the marked ones first too, shuffled. Or tick your own and print those.

Next