this post was submitted on 12 Jan 2025
1167 points (98.1% liked)

memes

10963 readers
2874 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] jaybone@lemmy.world 61 points 6 days ago (18 children)

Should only be used with extreme caution and if you know what you are doing.

Ok. What is the actual use case for “rm -rf /“ even if you know what you are doing and using extreme caution? If you want to wipe a disk, there are better ways to do it, and you certainly wouldn’t want that disk mounted on / when you do it, right?

[–] stebo02@lemmy.dbzer0.com 11 points 6 days ago (4 children)

isn't the command meant to be used on a certain path? like if you just graduated high school, you can just run "rm -rf ~/documents/homework/" ?

[–] Zorsith@lemmy.blahaj.zone 2 points 6 days ago* (last edited 6 days ago) (3 children)

Correct me if im wrong, i assume switch "-rf" is short for "Root File", for the starting point of recursion

[–] numerator3962@lemmynsfw.com 6 points 6 days ago

It's two switches. The f makes the operation forced. And the r makes the operation recursive.

load more comments (2 replies)
load more comments (2 replies)
load more comments (15 replies)