Question

What is the primary purpose of the "shebang" line `#!/bin/bash` at the beginning of a shell script?

A It's a comment indicating the script's version.
B It specifies the interpreter program to be used for executing the script.
C It defines a function named `bash`.
D It sets the script's default environment variables.
E None of the above
Practice Next

Hey! Ask a query