Quantcast
Channel: allquestions.co.in » Linux
Viewing all articles
Browse latest Browse all 10

Which two commands can you use to delete directories? A) rm B) rm -rf C) rmdir D) rd E) rd -rf

$
0
0

Answer(s): B, C – You can use rmdir or rm -rf to delete a directory. Answer a is incorrect, because the rm command without any specific flags will not delete a directory, it will only delete files. Answers d and e point to a non-existent command.


Viewing all articles
Browse latest Browse all 10

Trending Articles