What command is used to remove the directory?
A. rdir
B. remove
C. rd
D. rmdir
E. None of the above
Answer: Option D
Join The Discussion
Comments ( 2 )
Related Questions on Linux
What command is used to count the total number of lines, words, and characters contained in a file?
A. countw
B. wcount
C. wc
D. count p
E. None of the above
What command is used with vi editor to delete a single character?
A. x
B. y
C. a
D. z
E. None of the above
Option d is correct.
if a directory containing a files then we can use "rm" command.
and "rmdir" command used only to delete an empty directory.
To delete the user with its home directory is used?