LPIC-1 Exam 102 v5 (Linux Administrator) — Question 28

What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)

Answer options

Correct answer: B, C

Explanation

The correct answers are B and C because the #! (shebang) line specifies the interpreter for the script and can include arguments for it. Options A, D, and E are incorrect as the shebang does not prevent execution, does not define character encoding, and is not treated as a comment by the interpreter.