When the command echo $ outputs 1, which of the following statements is true?
When the command echo $ outputs 1, which of the following statements is true?
A . It is the process ID of the echo command.
B . It is the process ID of the current shell.
C . It is the exit value of the command executed immediately before echo.
D . It is the exit value of the echo command.
Answer: C
Latest 102-500 Practice Questions with 194 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Answer is C, but the question should be with “$?”, not only “$”.
Please correct.