$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 是一个 支持 $BASH_VERSION 的 Bash 集成开发工具 – 马上试用!