📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which symbol is used to comment a single line in shell

    scripts?
    A // Correct Answer Incorrect Answer
    B # Correct Answer Incorrect Answer
    C /* */ Correct Answer Incorrect Answer
    D -- Correct Answer Incorrect Answer
    E % Correct Answer Incorrect Answer

    Solution

    # denotes a comment in shell scripts and is ignored during execution.

    Practice Next
    ask-question