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

memes

10933 readers
3749 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 [email protected]

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 61 points 3 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?

[–] [email protected] 11 points 3 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/" ?

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago) (3 children)

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

[–] [email protected] 6 points 2 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)