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
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
rmdir ~/\\dir
is the answer.
It is strange but rmdir ~/\dir – works, as well as rmdir ~/dir also works. This question confused me
i think is D
I think the same. Do you know the questions for LPIC 101-500 ?
me either
Guys, D is wrong, cuz ~ menas /home/user1/ so writing rmdir ~/dir will mean /home/user//dir and it is wrong answer, sry for my english, hope u understood what i want to say:):)