A single-page reference for shell tricks that save keystrokes, sanity, and production servers.
Live page: https://jains99.github.io/shell-tricks/
- Keyboard shortcuts (cursor movement, line editing, history search)
- History navigation (
!!,!$,^old^new) - Scripting safety flags (
set -euo pipefail) - Brace expansion and globbing
- Process control (
Ctrl+Z → bg → disown,|& tee)
Based on the original article by Christian Hofstede-Kuhn: Shell Tricks That Actually Make Life Easier — reformatted for readability.