tldr/pages/linux/fc.md
2018-11-25 20:57:30 +05:30

197 B

fc

Open the most recent command and edit it.

  • Open in the default system editor:

fc

  • Specify an editor to open with:

fc -e {{'emacs'}}

  • List recent commands from history:

fc -l