$BASH_VERSINFO
–
Bash Version Information
$BASH_VERSINFO
is an array and contains items, which define the version of Bash.
Links
Examples
- Print all items
1
echo "${BASH_VERSINFO[@]}"
BashSupport Pro is a Bash IDE with support for $BASH_VERSINFO – try it now!