Bash -Test

To print out the version information for bash, use bash --version . Show activity on this post. When running bash (e.g. from gnome-terminal ) you can check value of BASH_VERSION environment variable. If the value is empty, you are not running bash .
Santino