Loading practice questions
Which of the following set of Unix commands will always display "WELCOME"?
Correct Answer: A — title=WELCOME; export title; sh -c "echo $title"
Explanation:
Exporting the variable ensures it is passed to the subshell environments created by the sh -c command.