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


    Question

    In shell scripting, how do you assign the string "Hello

    World" to a variable named `MESSAGE`?
    A `MESSAGE = "Hello World"` Correct Answer Incorrect Answer
    B `MESSAGE="Hello World"` Correct Answer Incorrect Answer
    C `$MESSAGE = "Hello World"` Correct Answer Incorrect Answer
    D `set MESSAGE "Hello World"` Correct Answer Incorrect Answer

    Solution

    `MESSAGE="Hello World"`

    Practice Next
    More Shell Scripting Questions
    ask-question