this post was submitted on 12 Nov 2024
0 points (NaN% liked)
linuxmemes
25308 readers
1846 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
3. Post Linux-related content
sudo
in Windows.4. No recent reposts
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No, this is a very old joke that uses the fact the command has "fr" in it to trick people about what the command does. Joking aside, here's what the command actually does:
rm
is the command to delete files and folders-f
is the force modifier. This means it'll keep going even if it encounters problems and just delete as much as it can-r
is the recursive modifier. That means it'll go down every folder it sees in the target and delete the contents as well, and delete the contents of folders of folders, etc./
is the target. This is the root of the filesystem. If you're used to Windows, that's like targetingC:
.Put it all together, and this command basically deletes your whole filesystem. A safeguard was put in place a while back due to people meming about this and causing newbies to delete their whole system. Now it won't work unless you put in
--no-preserve-root
, which tellsrm
that yes, you really mean it, please delete my whole system./*
as the target works around that safeguard, because technically deleting everything in root is not the same as deleting root itself.