tldr/pages/common/fc.md

18 lines
315 B
Markdown
Raw Normal View History

2018-11-25 15:27:30 +00:00
# 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>.
2018-11-25 15:27:30 +00:00
- Open in the default system editor:
`fc`
- Specify an editor to open with:
`fc -e {{'emacs'}}`
- List recent commands from history:
`fc -l`