fc -e -[
Korn shell only. Display or edit commands in the history list.
(Use only one of -l or -e.)
fc provides capabilities similar to the C shell's history and
last are numbers or
strings specifying the range of commands to display or edit.
last is omitted, fc applies to a single command (specified
first). If both
last are omitted,
fc edits the previous command or lists the last 16.
The second form of fc takes a history
old string with
and executes the modified command. If no strings are
command is just re-executed. If no
is given either, the previous command is re-executed.
command is a number or string like
See examples under "Command History."
editor to edit the specified history commands.
editor is set by shell variable FCEDIT.
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 -l listing.
Reverse the order of the -l listing.