Bash Version Information
$BASH_VERSINFO
is an array and contains items, which define the version of Bash.
Links
Examples
Print all items :
|
|
Output: 5 1 4 1 release x86_64-pc-linux-gnu
BashSupport Pro is a Bash IDE with support for $BASH_VERSINFO – try it now!