Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 .
 
PREVIOUS NEXT
Tagged: #bash #test
ADD COMMENT
Topic
Name
3+2 =