tldr/pages/common/fc.md

25 lines
357 B
Markdown
Raw Normal View History

2018-11-25 15:27:30 +00:00
# fc
> Open the most recent command and edit it.
> 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`
2021-11-01 05:28:43 +00:00
- List recent commands in reverse order:
`fc -r`
- List commands in a given interval:
`fc '{{416}}' '{{420}}'`