Posted on

Linux LX0-104 Exam 2 samples – Question 1

What is true regarding the statement beginning with #! that is found in the first line of a script?

A. It prevents the script from being executed until the ! is removed.
B. It specifies the path and the arguments of the interpreter used to run the script.
C. It is a comment that is ignored by the script.
D. It specifies the character encoding of the script.

Correct Answer: B
Section: Shells, Scripting and Data Management

Leave a Reply

Your email address will not be published. Required fields are marked *