nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #789

LFCS Question #789: Real Exam Question with Answer & Explanation

Sign in or unlock LFCS to reveal the answer and full explanation for question #789. The question stem and answer options stay visible for context.

Submitted by rachelw· Apr 18, 2026Essential Commands

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

Unlock LFCS to see the answer

You've previewed enough free LFCS questions. Unlock LFCS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Shell Escaping#Directory Management#rmdir command#File Paths
Full LFCS PracticeBrowse All LFCS Questions