$BASH_VERSION
–
Version of Bash
$BASH_VERSION
contains the current version of the Bash interpreter as a string.
Links
Examples
- Print the current version of Bash
1
echo $BASH_VERSION
BashSupport Pro is a Bash IDE with support for $BASH_VERSION – try it now!