$HISTCMD  –  History Number

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

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