this post was submitted on 20 Apr 2025
891 points (98.1% liked)

linuxmemes

24654 readers
823 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe 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.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] Lumelore@lemmy.blahaj.zone 94 points 6 days ago (6 children)

    Obligatory reminder to remove the French language pack:

    sudo rm -fr /*

    [–] SinkingLotus@lemmy.world 48 points 6 days ago

    I mean... You're not wrong. If there's a French language pack on the system, it will remove it.

    Tap for spoilerAlong with everything else.

    [–] stembolts@programming.dev 33 points 6 days ago (1 children)

    I add a -v because I like to watch.

    [–] Deckname@discuss.tchncs.de 10 points 6 days ago

    You sick Bastard.

    My brother did this accidentally... twice... Don't ask me how you manage to do this twice...

    [–] LeninOnAPrayer@lemm.ee 14 points 6 days ago* (last edited 6 days ago) (4 children)

    alias trash-put from trash-cli in both sudo and user.

    myrm() {
      trash-put "$@"
    }
    alias rm="myrm"
    

    This has saved my ass so many times. Especially when typing "rm * .png" instead of "rm *.png"

    Can restore the files using the cli or from system recycling bin.

    The alias to rm is probably not best. So getting use to using another name is probably best. But I'm never had a problem with it.

    [–] grrgyle@slrpnk.net 12 points 6 days ago (1 children)

    That feeling where rm is taking a while to return to the prompt

    [–] LeninOnAPrayer@lemm.ee 4 points 6 days ago

    Exactly. Ctrl+C and hope ls isn't completely empty.

    load more comments (3 replies)
    [–] projjalm@lemy.lol 9 points 6 days ago (1 children)
    [–] Mensh123@lemmy.world 7 points 6 days ago

    Did you actually run it?

    In this case, I hope you had a backup. Boot a live system to see if there's anything left. Back that up, then reinstall.

    [–] kewjo@lemmy.world 3 points 6 days ago (2 children)

    make sure to add --no-preserved-root to make sure to update all the English libraries too so you can make sure only freedom fries are respected.

    [–] groet@feddit.org 10 points 6 days ago

    Not necessary with /* Only needed if you do rm -rf /

    [–] Agent641@lemmy.world 3 points 6 days ago

    No preserved root because candied ginger is gross

    [–] menas@lemmy.wtf 21 points 6 days ago (2 children)

    Linux is not free like in "freeware" but in "free to fuck yourself if you want"

    [–] octopus_ink@slrpnk.net 19 points 6 days ago* (last edited 6 days ago)

    It's both. Free as in free beer (gratis) and free as in freedom (libre).

    [–] Agent641@lemmy.world 10 points 6 days ago (1 children)
    [–] ivanafterall@lemmy.world 12 points 6 days ago

    Free as in fallin'?

    [–] TriflingToad@sh.itjust.works 38 points 6 days ago (3 children)

    accidentally deleted every dependency VLC requires instead of deleting VLC. Absolutely recked EVERYTHING on my PC.

    I deserve it for trying to remove the best video player πŸ˜”

    [–] lorentz@feddit.it 8 points 6 days ago

    I managed to remove all the kernels instead of all the old kernels. It was a good learning experience fixing it later, and now I pay much more attention when apt warns about "potentially dangerous operations".

    [–] feannag@sh.itjust.works 13 points 6 days ago

    Remove and reinstall VLC should install all the dependencies, yeah?

    I once forgot to install the Linux package when I was installing Arch on a system. Linux even let's you not use Linux, if you like.

    It didn't boot.

    [–] qyron@sopuli.xyz 21 points 6 days ago

    I once tried to delete something I was not supposed to and the system was quite adamant on advising against it. The system was to be reinstalled so I was just trying things.

    It's been a while but I recall the system giving me a first warning that my command woud delete X, Y and Z, which could render the system inoperable.

    Then it questioned me if I was sure I wanted to proceed with the operation.

    The final warning was a sum of the potential damage I would do to the system and that it would be irreversible, without a full system install.

    So, three strikes.

    [–] MetalMachine@feddit.nl 8 points 6 days ago

    While great, we should also have some safe guards so normies can use linux without destroying their entire system

    [–] Ensign_Crab@lemmy.world 16 points 6 days ago

    I remember when windows would let you delete system32 but not Internet Explorer.

    [–] DaddleDew@lemmy.world 8 points 6 days ago* (last edited 6 days ago) (1 children)

    Narrator: "Turned out Windows never needed Edge to work"

    It doesn't even need it to show you ads on your purchased OS, they just do it to be dicks.

    [–] MonkderVierte@lemmy.ml 6 points 6 days ago* (last edited 6 days ago)

    Android: screenshot dir? Use DIRECTORY_PICTURES env variable. Changing either? Lol, eat dirt pleb.

    [–] Voyajer@lemmy.world 5 points 6 days ago

    yes, do as I say!

    [–] Agosagror@lemmy.dbzer0.com 5 points 6 days ago (1 children)

    I did this once by accident, I deleted every file that had KDE as a dependency recursively. As well as every file that KDE listed as a dependency, recursively.

    Lesson learnt

    [–] azha@lemm.ee 7 points 6 days ago (1 children)

    You can't kill windows with windows but you can kill Linux with Linux. Remember that.

    [–] Agent641@lemmy.world 2 points 6 days ago (2 children)

    You can definitely kill window with windows,it's just done through the GUI and it's a messy operation, like killing a whale with a chainsaw.

    [–] Ziglin@lemmy.world 2 points 5 days ago

    Or it decides to do it all by itself, no user interaction required.

    load more comments (1 replies)
    load more comments
    view more: next β€Ί