PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will remove that directory?

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

PrepAway - Latest Free Exam Questions & Answers

A.
rmdir ‘~/\\dir’

B.
rmdir “~/\\dir”

C.
rmdir ~/’dir’

D.
rmdir ~/\\dir

E.
rmdir ~/\\\\dir

2 Comments on “Which of the following commands will remove that directory?

  1. Perico says:

    Not my friend James:

    I tested “rmdir ~/\\\\dir” and it does work well. ~/ is the home directory. \\\\ mean that the caracter next to \ is not a especial caracter else a simple \ then you need two \\ for the first one and \\ for the second.

    rmdir ~/\\\\dir

    Regards




    2



    0

Leave a Reply