Question 110
A technician working on a classroom Linux system finds: An analyst creates a directory named Quarterly Reports and attempts cd Quarterly Reports without quotes, receiving too many arguments. What result confirms the intended Linux behavior?
Explanation
Correct Answer
The working directory changes into the correctly named folder as verified by pwd. This is specific evidence for the stated requirement. The explanation is: Unquoted whitespace separates command arguments before cd receives its directory operand. The required action is: Run cd "Quarterly Reports" or escape the embedded space when passing the path to the shell.
Incorrect Answers
This test can succeed without resolving the cause described here. It addresses: An interactive Bash history list records previously entered commands for inspection and reuse. The relevant causal dependency is: Unquoted whitespace separates command arguments before cd receives its directory operand. The required validation is “The working directory changes into the correctly named folder as verified by pwd”.
The alternative measures an outcome associated with: Output redirection syntax is interpreted by the shell before the invoked command runs. It does not verify the stated failure. Here unquoted whitespace separates command arguments before cd receives its directory operand. Confirm “The working directory changes into the correctly named folder as verified by pwd”.
That observation would verify a different mechanism: The shell searches directories in PATH for command names; the current directory is not necessarily on that search list. It would not establish whether the present failure was corrected, because unquoted whitespace separates command arguments before cd receives its directory operand. Test “The working directory changes into the correctly named folder as verified by pwd” instead.