Today I Learned

2026/08/07

sh

that fc(1) is a portable way to edit your last shell command in your preferred editor, then re-run it.

See https://refp.se/articles/your-shell-and-the-lazy-exclamation-mark#posix-and-the-power-of-fc