History Number

$HISTCMD is the index in the history list of the current command.

BashSupport Pro is a Bash IDE with support for $HISTCMD – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal