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

memes

10963 readers
3707 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
[–] stebo02@lemmy.dbzer0.com 11 points 5 days ago (1 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 5 days ago* (last edited 5 days ago) (2 children)

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

[–] Jrockwar@feddit.uk 18 points 5 days ago (1 children)

No, -r and -f are two different switches. -r is recursive, used so that it also removes folders within the directory. -f is force (so overriding all confirmations, etc).

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

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