nerdexam
LPI

101-350 · Question #40

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."…

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 \bobsdir only to receive the error, "No such file or directory." . Which command will remove the directory?

Options

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

How the community answered

(18 responses)
  • A
    17% (3)
  • B
    6% (1)
  • C
    6% (1)
  • E
    72% (13)

Community Discussion

No community discussion yet for this question.

Full 101-350 Practice