Page 1 of 1

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

Posted: Fri Oct 07, 2016 4:20 pm
by santosh
Which two commands can you use to delete directories?
A) rm
B) rm -rf
C) rmdir
D) rd
E) rd -rf

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

Posted: Fri Oct 07, 2016 4:20 pm
by ranilele38
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.

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

Posted: Thu Dec 28, 2017 2:39 pm
by Adelineted
I am a beginner to Linux commands. I use SSH to connect to a Linux server. What command can I use to save a text file on the server to my desktop?