Linux Administration
medium

Questão de Linux Administration #019e3987

Enunciado da Questão
Linux Administration
#rmdir
#backslash
#quoting
#tilde expansion
#pathname
Médio

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

A

rmdir '~/\dir'

B

rmdir "~/\dir"

C

rmdir ~/'dir'

D

rmdir ~/\dir

E

rmdir ~/\dir

Correta

Explicação Oficial / Explicações da Comunidade

In shell commands, the backslash \ is an escape character. To represent a literal backslash, it must be escaped itself: \\.