πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      What is the primary purpose of the "shebang" line

      `#!/bin/bash` at the beginning of a shell script?
      A It's a comment indicating the script's version. Correct Answer Incorrect Answer
      B It specifies the interpreter program to be used for executing the script. Correct Answer Incorrect Answer
      C It defines a function named `bash`. Correct Answer Incorrect Answer
      D It sets the script's default environment variables. Correct Answer Incorrect Answer
      E None of the above Correct Answer Incorrect Answer

      Solution

      It specifies the interpreter program to be used for executing the script.

      Practice Next
      ask-question