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


    Question

    What does $# represent in a shell

    script?
    A Script name Correct Answer Incorrect Answer
    B Total number of arguments Correct Answer Incorrect Answer
    C First argument Correct Answer Incorrect Answer
    D Last argument Correct Answer Incorrect Answer
    E Return value Correct Answer Incorrect Answer

    Solution

    $# stores the count of arguments passed.

    Practice Next
    ask-question