tldr/pages/linux/fc.md

242 B

fc

Open the most recent command and edit it. More information: https://manned.org/fc.

  • Open in the default system editor:

fc

  • Specify an editor to open with:

fc -e {{'emacs'}}

  • List recent commands from history:

fc -l