Which two commands can you use to delete directories?
A) rm
B) rm -rf
C) rmdir
D) rd
E) rd -rf
Which two commands can you use to delete directories? A) rm B) rm -rf C) rmdir D) rd E) rd -rf
-
- 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
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.
-
- 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
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$
Who is online
Users browsing this forum: No registered users and 1 guest