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

linuxmemes

24540 readers
3493 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
    [–] menas@lemmy.wtf 0 points 59 minutes ago (1 children)

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

    [–] octopus_ink@slrpnk.net 5 points 51 minutes ago* (last edited 47 minutes ago)

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

    [–] Lumelore@lemmy.blahaj.zone 45 points 15 hours ago (5 children)

    Obligatory reminder to remove the French language pack:

    sudo rm -fr /*

    [–] SinkingLotus@lemmy.world 15 points 13 hours 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 8 points 13 hours ago

    I add a -v because I like to watch.

    [–] LeninOnAPrayer@lemm.ee 7 points 14 hours ago* (last edited 14 hours 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 1 points 51 minutes ago

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

    [–] pressanykeynow@lemmy.world 2 points 13 hours ago

    Or just use snapshots. If you are into aliases make an alias for rm to make a snapshot before deleting something.

    load more comments (2 replies)
    [–] kewjo@lemmy.world 3 points 13 hours ago (1 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 7 points 12 hours ago

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

    [–] projjalm@lemy.lol 4 points 15 hours ago (1 children)
    [–] Mensh123@lemmy.world 2 points 3 hours 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.

    [–] TriflingToad@sh.itjust.works 23 points 16 hours ago (2 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 πŸ˜”

    [–] feannag@sh.itjust.works 7 points 14 hours ago

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

    [–] ImplyingImplications@lemmy.ca 50 points 18 hours ago (1 children)

    I think you mean:

    sudo I want to delete everything to corrupt my system

    [–] cogman@lemmy.world 16 points 18 hours ago* (last edited 18 hours ago) (1 children)

    sudo dd if=/dev/urandom of=$(df | grep '\s/$' | cut -d' ' -f1)

    (Omit the $ if you are using the fish terminal)

    [–] feannag@sh.itjust.works 2 points 15 hours ago (1 children)

    One good use for AI was a great breakdown of what exactly that command does. I like it.

    [–] stembolts@programming.dev 7 points 13 hours ago* (last edited 13 hours ago)

    "Write random shit to root."

    There is a reason they call dd the disk-destroyer.

    [–] Cassa@lemmy.blahaj.zone 41 points 18 hours ago (1 children)

    I just uninstalled edge on my laptop (still windows for work/study compatability)

    EU laws!

    [–] HotCoffee@lemm.ee 27 points 18 hours ago (6 children)

    It will be back on next update😭

    [–] tazeycrazy@feddit.uk 18 points 17 hours ago

    And in larger numbers.

    load more comments (5 replies)
    [–] qyron@sopuli.xyz 15 points 16 hours 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.

    [–] Ensign_Crab@lemmy.world 8 points 15 hours ago

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

    [–] elvith@feddit.org 11 points 18 hours ago (3 children)
    [–] zarathustra0@lemmy.world 17 points 17 hours ago

    Single use linux.

    [–] stuner@lemmy.world 11 points 17 hours ago* (last edited 17 hours ago) (1 children)
    E: Removing essential system-critical packages is not permitted. This might break the system.
    

    You can still do it if you really want, but even Linux rightly has some protections against breaking your system.

    [–] kuberoot@discuss.tchncs.de 13 points 16 hours ago (2 children)

    I do want to clarify: it's not Linux itself, but specific distributions (or rather their package managers). As far as I know, Arch's pacman would do nothing to stop me πŸ₯°

    [–] stuner@lemmy.world 2 points 13 hours ago

    True, Linux applications (e.g. apt, dnf, pip, but also rm, sudo, and many more) would be more precise.

    For Arch, it's probably not so easy to define "essential" packages, as it, for example, supports many different bootloaders. It is of course also a question of distro philosophy and target audience. Personally, I've noticed that "rm -r" as root prompts for every file on RHEL but does not on Arch...

    load more comments (1 replies)
    [–] kuberoot@discuss.tchncs.de 3 points 16 hours ago (1 children)

    I might be wrong, but I think that actually wouldn't do anything, because grub is installed by the tooling from the package, not the package itself?

    [–] grrgyle@slrpnk.net 1 points 48 minutes ago (1 children)
    [–] kuberoot@discuss.tchncs.de 2 points 43 minutes ago (1 children)

    I'm tempted, though I use rEFInd not grub, but fixing any damage should be easy with a live image handy...

    [–] grrgyle@slrpnk.net 1 points 40 minutes ago

    You're very brave! I meant on like a virtual machine

    [–] yesman@lemmy.world 9 points 17 hours ago (3 children)

    As a user, I hate when an OS gets in my way. Or insists that there is one right way to do something.

    As the tech support guy in my family, I'm grateful that windows denies permission, has big guard rails, and forces you to do updates.

    [–] Empricorn@feddit.nl 10 points 17 hours ago (1 children)

    Bruh. For how many years did Windows make every luddite, child, and grandparent default Administrator with full, unprompted access to install viruses, run scripts, and delete system files?

    [–] Honytawk@lemmy.zip 1 points 2 hours ago

    Isn't that still the case with Linux now?

    Just add sudo to your commands

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

    Nah. Fuck forced updates. Only time I'm forced to use windows is for work.

    I have to play the "low battery" game when it starts notifying me during work. Unplugging and repowering the laptop right below 10% so it won't restart and disconnect my VM and SSH sessions I'm using for work.

    I don't care what anyone says. Updates that can't have a forever "give me 1 more hour" indefinitely are just going to destroy work.

    Suddenly restarting in the middle of someone working is just awful design. I don't care how many "warnings" there are.

    I'm connected to a remote session and doing work. If you restart my computer I could lose my work. The OS is not some self contained thing you can always save the state in.

    [–] tazeycrazy@feddit.uk 4 points 17 hours ago (1 children)

    I suppose immutable systems are ment to stop the end user from bugging out the system but even regular Linux distrios need to assume that there users are incompetent cus I am.

    load more comments (1 replies)
    [–] DaddleDew@lemmy.world 6 points 16 hours ago* (last edited 16 hours ago)

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

    [–] MonkderVierte@lemmy.ml 5 points 15 hours ago* (last edited 15 hours ago)

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

    [–] Voyajer@lemmy.world 4 points 15 hours ago

    yes, do as I say!

    [–] Agosagror@lemmy.dbzer0.com 4 points 16 hours 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 6 points 16 hours ago

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

    [–] Kusimulkku@lemm.ee 5 points 18 hours ago

    Yes, do as I say!

    load more comments
    view more: next β€Ί