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


    Question

    Which symbol is used for variable substitution in shell

    scripting?
    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

    The $ symbol is used to reference the value stored in a variable (e.g., echo $VAR).

    Practice Next
    ask-question