fc
Open the most recent command and edit it.
Some subcommands such as `fc list` have their own usage documentation.
- 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}'
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).