ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    Question

    What does the exit command do in a shell

    script?
    A Restarts the script Correct Answer Incorrect Answer
    B Terminates the script and returns a status code Correct Answer Incorrect Answer
    C Pauses the script Correct Answer Incorrect Answer
    D Executes the next command Correct Answer Incorrect Answer
    E Prints a message Correct Answer Incorrect Answer

    Solution

    exit stops script execution and can return an integer status code to the calling process.

    Practice Next
    More Shell Scripting Questions
    ask-question