Question

What is the purpose of the shebang (#!) in a shell script?

A It indicates the end of the script. Correct Answer Incorrect Answer
B It marks the beginning of the script. Correct Answer Incorrect Answer
C It specifies the interpreter to execute the script. Correct Answer Incorrect Answer
D It comments out a line of code. Correct Answer Incorrect Answer

Solution

It specifies the interpreter to execute the script.

Practice Next

Relevant for Exams:

×
×