check bash version 1

check bash version

bash --version

Here is what the above code is Doing:
1. We’re using the “shebang” line to tell the computer that we want to use the bash shell to run this script.
2. We’re using the “echo” command to print out the text “Hello, World!”
3. We’re using the “bash” command to run the “–version” command.

Similar Posts