$HISTCMD
–
History Number
$HISTCMD
is the index in the history list of the current command.
Links
BashSupport Pro is a Bash IDE with support for $HISTCMD – try it now!
$HISTCMD
–
History Number$HISTCMD
is the index in the history list of the current command.