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

linuxmemes

24670 readers
1229 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
    [–] [email protected] 94 points 1 week ago (8 children)

    Obligatory reminder to remove the French language pack:

    sudo rm -fr /*

    [–] [email protected] 48 points 1 week 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.

    [–] [email protected] 33 points 1 week ago (1 children)

    I add a -v because I like to watch.

    [–] [email protected] 10 points 1 week ago

    You sick Bastard.

    [–] [email protected] 14 points 1 week ago* (last edited 1 week 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.

    [–] [email protected] 12 points 1 week ago (1 children)

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

    load more comments (1 replies)
    load more comments (3 replies)
    [–] [email protected] 9 points 1 week ago (1 children)
    [–] [email protected] 7 points 1 week 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.

    [–] [email protected] 9 points 1 week ago

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

    load more comments (3 replies)
    [–] [email protected] 61 points 1 week ago (1 children)

    I think you mean:

    sudo I want to delete everything to corrupt my system

    [–] [email protected] 25 points 1 week ago* (last edited 1 week ago) (2 children)

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

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

    load more comments (2 replies)
    [–] [email protected] 52 points 1 week ago (1 children)

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

    EU laws!

    [–] [email protected] 33 points 1 week ago (6 children)

    It will be back on next update😭

    [–] [email protected] 23 points 1 week ago

    And in larger numbers.

    load more comments (5 replies)
    [–] [email protected] 38 points 1 week 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 πŸ˜”

    [–] [email protected] 13 points 1 week ago

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

    [–] [email protected] 8 points 1 week 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".

    [–] [email protected] 21 points 1 week 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.

    [–] [email protected] 21 points 1 week ago (2 children)

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

    [–] [email protected] 19 points 1 week ago* (last edited 1 week ago)

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

    [–] [email protected] 10 points 1 week ago (1 children)
    [–] [email protected] 12 points 1 week ago

    Free as in fallin'?

    [–] [email protected] 16 points 1 week ago

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

    [–] [email protected] 13 points 1 week ago (7 children)
    [–] [email protected] 22 points 1 week ago

    Single use linux.

    [–] [email protected] 13 points 1 week ago* (last edited 1 week 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.

    [–] [email protected] 19 points 1 week 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 πŸ₯°

    [–] [email protected] 4 points 1 week 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)
    load more comments (5 replies)
    [–] [email protected] 11 points 1 week 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.

    [–] [email protected] 14 points 1 week 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?

    load more comments (1 replies)
    [–] [email protected] 7 points 1 week ago* (last edited 1 week ago) (1 children)

    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.

    [–] [email protected] 6 points 1 week ago* (last edited 1 week ago)

    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.

    For SSH, assuming that the remote system is Linux, run tmux on the remote system and do your work in that. If your SSH connection gets killed off, you just ssh back in and tmux attach to your old tmux session.

    [–] [email protected] 5 points 1 week ago (3 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 (3 replies)
    [–] [email protected] 8 points 1 week ago

    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.

    [–] [email protected] 8 points 1 week ago

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

    [–] [email protected] 8 points 1 week ago* (last edited 1 week ago) (1 children)

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

    [–] [email protected] 4 points 1 week ago

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

    [–] [email protected] 6 points 1 week ago* (last edited 1 week ago)

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

    [–] [email protected] 5 points 1 week ago

    Yes, do as I say!

    [–] [email protected] 5 points 1 week 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

    [–] [email protected] 7 points 1 week ago (3 children)

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

    load more comments (3 replies)
    [–] [email protected] 5 points 1 week ago

    yes, do as I say!

    load more comments
    view more: next β€Ί