Question

    Which command is used to indicate the interpreter for a shell script?

    A #!bin/bash Correct Answer Incorrect Answer
    B #!/usr/bin/env shell Correct Answer Incorrect Answer
    C #!/usr/bin/sh Correct Answer Incorrect Answer
    D #!/usr/bin/sh Correct Answer Incorrect Answer

    Solution

    #!bin/bash

    Practice Next

    Relevant for Exams: