Which command is/are used to remove directory in Linux ? *
a) rmdir
b) rm -r
c) only b
d) both a & b up
Answers
Answered by
5
Answer:
a) rmdir
Explanation:
rmdir command
To remove a directory and all its contents, including any subdirectories and files, use the rm command with the recursive option, -r . Directories that are removed with the rmdir command cannot be recovered, nor can directories and their contents removed with the rm -r command.
Similar questions