# fc

> Open the most recent command and edit it.
> More information: <https://ss64.com/osx/fc.html>.

- Open in the default system editor:

`fc`

- Specify an editor to open with:

`fc -e {{'emacs'}}`

- List recent commands from history:

`fc -l`
