What is the purpose of the shebang line (e.g., #!/bin/bash) at the top of a shell script?
-
A
It adds a comment describing the script purpose
-
B
It specifies the interpreter to use when executing the script
-
C
It sets the script's execution permissions automatically
-
D
It defines the shell's PATH variable for the session