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}}'
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.