Loading practice questions
What will be the output of the following Unix command?
$ rm chap0[1 - 3]
Correct Answer: C — Remove file chap0[1 - 3]
Explanation:
Because the square brackets are escaped with backslashes, the shell does not perform pattern matching, and the command attempts to remove a file literally named chap0[1 - 3].