Hello World in Bash

This is how you would display “Hello World” in Bash.

Create a text file called hello_world.sh containing the following code:

Navigate to a directory where your hello_world.sh is located and make the file executable:
Now you are ready to execute your first bash script: