commands.sh

fc

all

Open the recent commands for editing and then run them. See also: `history`.

More info →

Examples (7)

Open the last command in the default system editor and run it after editing

Specify an editor to open with

fc -e 'emacs'

List recent commands from history

fc -l

List recent commands in reverse order

fc -l -r

Edit and run a command from history

fc number

Edit commands in a given interval and run them

fc '416' '420'

Display help

fc --help
made by @shridhargupta | data from tldr-pages