The shebang line #!/bin/bash specifies the Bash (Bourne Again SHell) interpreter.
In most Linux systems:
/bin/bashis the absolute path to the Bash executable file.- By including this line, you are telling the computer: "Please use the Bash program located in the
/bindirectory to run the commands inside this file."
If you were writing a Python script, for example, the shebang would look like #!/usr/bin/python3 instead.
Since you've already created the file, you can now move on to the next part of the lab: using chmod u+x script.sh to give yourself permission to execute it!