Version of Bash

$BASH_VERSION contains the current version of the Bash interpreter as a string.

Examples

Print the current version of Bash :

1
echo $BASH_VERSION

Example output: 5.1.4(1)-release.

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