LFCS Certification Practice Test
LFCS Certification Shell Scripting and Automation
What is the purpose of the shebang line (e.g., #!/bin/bash) at the top of a shell script?
Select your answer
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
Hint