1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/fc.md
2021-11-01 10:58:43 +05:30

430 B

fc

Open the most recent command and edit it. Some subcommands such as fc list have their own usage documentation. 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

  • List recent commands in reverse order:

fc -r

  • List commands in a given interval:

fc '{{416}}' '{{420}}'