nerdexam
Novell

050-720 · Question #307

You have a /tmp/data directory containing the files .file, file1, and file2. You want to delete the directory and its content. In a terminal window, which command accomplishes this?

The correct answer is B. rm -r /tmp/data/. See the full explanation below for the reasoning.

Question

You have a /tmp/data directory containing the files .file, file1, and file2. You want to delete the directory and its content. In a terminal window, which command accomplishes this?

Options

  • Arm /tmp/data/
  • Brm -r /tmp/data/
  • Crmdir /tmp/data/
  • Ddeldir /tmp/data/

How the community answered

(27 responses)
  • A
    15% (4)
  • B
    78% (21)
  • C
    4% (1)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 050-720 Practice