๐Ÿ“ข 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 does the #!/bin/bash line at the beginning of a

      shell script indicate?
      A It is a comment Correct Answer Incorrect Answer
      B Specifies the shell to interpret the script Correct Answer Incorrect Answer
      C Prints the script name Correct Answer Incorrect Answer
      D Terminates the script Correct Answer Incorrect Answer
      E Declares a variable Correct Answer Incorrect Answer

      Solution

      The shebang (#!) followed by the shell path tells the OS which interpreter to use to execute the script.

      Practice Next
      ask-question