A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?



A.

rmdir '~/\dir'

B.

rmdir "~/\dir"

C.

rmdir ~/'dir'

D.

rmdir ~/\dir

E.

rmdir ~/\\dir

題解

「\」是跳脫字元,如果要跳脫「跳脫字元」,同樣需要使用跳脫字元。因此選項E是正確答案。