Introduction to Operating System Question Answer

In any shell script the first line starts with which of the following


In any shell script the first line starts with which of the following?

किसी भी 'शेल स्क्रिप्ट' में प्रथम पंक्ति निम्न में से किस से शुरू होती है?
Topic : Introduction to Operating System

A. !

B. @

C. $

D. #




Correct Answer

D. #


Explanation :


In a shell script, the first line typically starts with a shebang (#!) followed by the path to the shell interpreter that should be used to execute the script.