mirror of https://github.com/CrimsonTome/tldr.git
25 lines
357 B
Markdown
25 lines
357 B
Markdown
# fc
|
|
|
|
> Open the most recent command and edit it.
|
|
> 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}}'`
|