fc -e -
only. Display or edit commands in the history list. (Use only one of
are numbers or strings specifying the range of commands to display or edit. If last
is omitted, fc
applies to a single command (specified by first
). If both first
are omitted, fc
edits the previous command or lists the last 16. The second form of fc
takes a history command
, replaces old
string with new
string, and executes the modified command. If no strings are specified, command
is just reexecuted. If no command
is given either, the previous command is reexecuted. command
is a number or string like first
. See the examples in the earlier section "Command History."
to edit the specified history commands. The default editor
is set by the shell variable FCEDIT. If that variable is not set, the default is /bin/ed
Execute (or redo) a history command; refer to second syntax line above.
List the specified command or range of commands, or list the last 16.
Suppress command numbering from the
Reverse the order of the