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

santosh
Posts: 1311
Joined: Wed Sep 07, 2016 4:43 pm

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

Postby santosh » Fri Oct 07, 2016 4:20 pm

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

ranilele38
Posts: 1177
Joined: Wed Sep 07, 2016 4:41 pm

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

Postby ranilele38 » Fri Oct 07, 2016 4:20 pm

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.

Adelineted
Posts: 1
Joined: Wed Dec 27, 2017 10:36 am

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

Postby Adelineted » Thu Dec 28, 2017 2:39 pm

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?
http://goo.gl/JmNvGJ Best Hosting for 5$


Return to “Linux”

Who is online

Users browsing this forum: marisaco16 and 2 guests