nerdexam
CompTIA

LX0-101 · Question #383

Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory."…

The correct answer is E. rmdir ~bob/\\bobsdir. See the full explanation below for the reasoning.

Question

Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." . Which of the following commands will remove the directory?

Options

  • Armdir '~bob/\bobsdir'
  • Brmdir "~bob/\bobsdir"
  • Crmdir ~bob/'bobsdir'
  • Drmdir ~bob/\bobsdir
  • Ermdir ~bob/\bobsdir

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    11% (5)
  • C
    2% (1)
  • D
    2% (1)
  • E
    80% (36)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice