PrepAway - Latest Free Exam Questions & Answers

The very first line of a shell script should always contain what two characters at the beginning of the line?

The very first line of a shell script should always contain what two characters at the beginning of the line?

PrepAway - Latest Free Exam Questions & Answers

Answer: #!
Section: 105.2 Customize or write simple scripts

Explanation/Reference:
From http://en.wikipedia.org/wiki/Shebang_%28Unix%29:
In computing, a shebang (also called a hashbang, …) refers to the characters "#!" when they are the first two characters in an interpreter directive as the first line of a text file. In a Unix-like operating system, the program loader takes the presence of these two characters as an indication that the file is a script, and tries to execute that script using the interpreter specified by the rest of the first line in the file.

One Comment on “The very first line of a shell script should always contain what two characters at the beginning of the line?

  1. Good – I should definitely pronounce, impressed with your site The very first line of a shell script should always contain what two characters at the beginning of the line? | LPIC-1 Certificate | All in One TestKing I had no trouble navigating through all tabs and related information ended up being truly simple to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or anything, web site theme . a tones way for your customer to communicate. Nice task.




    0



    0

Leave a Reply