A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
rmdir '~/\dir'
rmdir "~/\dir"
rmdir ~/'dir'
rmdir ~/\dir
Referência recomendada para estudo
In shell commands, the backslash \ is an escape character. To represent a literal backslash, it must be escaped itself: \\.
\
\\