Bob accidentally created the subdirectory bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir bobsdir only to receive the error, "No such file or directory." . Which command will remove the directory?
A. rmdir ‘~bob/bobsdir’
B. rmdir "~bob/bobsdir"
C. rmdir ~bob/’bobsdir’
D. rmdir ~bob/bobsdir
E. rmdir ~bob/\bobsdir
“D” is too valid command and similar “E”
rmdir ~bob/bobsdir
I was looking for
rmdir ~/bobsdir
“D” is pretty close
Correct answer is rmdir ~bob/bobsdir, not /\bobsdir.