nerdexam
LPI

101-500 · Question #12

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

The correct answer is E. rmdir ~/\\dir. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Shells and Shell Scripting

Question

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

Options

  • Armdir '~/\dir'
  • Brmdir "~/\dir"
  • Crmdir ~/'dir'
  • Drmdir ~/\dir
  • Ermdir ~/\dir

How the community answered

(35 responses)
  • B
    3% (1)
  • C
    11% (4)
  • D
    6% (2)
  • E
    80% (28)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#shell quoting#backslash escaping#special characters#rmdir

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice