A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remote 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 remote that directory?
A. rmdir ~/\dir
B. rmdir “~/dir”
C. rmdir ~/’dir’
D. rmdir ~/dir
E. rmdir ‘~/dir’
You mean remove right ? the real question was which of the following commands will remove that directory
C works too
C and D
https://www.computerhope.com/unix/urmdir.htm