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 是一个 支持 $BASH_VERSION 的 Bash 集成开发工具 – 马上试用!
© 2020–2022 Joachim Ansorg
声明
隐私政策
许可条款