this post was submitted on 18 Feb 2026
415 points (99.1% liked)

linuxmemes

30114 readers
751 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.
  • Don't come looking for advice, this is not the right community.
  • 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
     

    I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
    I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

    you are viewing a single comment's thread
    view the rest of the comments
    [–] ICastFist@programming.dev 16 points 17 hours ago (3 children)

    So good to see that, even in 2026, Unix Haters' Handbook's part on rm is still valid. See page 59 of the pdf

    [–] MonkderVierte@lemmy.zip 2 points 7 hours ago* (last edited 6 hours ago) (1 children)
    [–] MonkderVierte@lemmy.zip 2 points 6 hours ago (2 children)

    Btw, what's this about QWERTY to slow them down? Far as i know, it's to reduce finger travel?

    [–] ne0phyte@feddit.org 1 points 26 minutes ago* (last edited 24 minutes ago)

    Qwerty was developed so that typewriter hammers have a low chance of hitting each other and get stuck. It was never about finger travel or ergonomics.

    PCs adapted the layout and unfortunately we stuck with it ever since. There are many better layouts, some more extreme in terms of difference to qwerty, some just fix the most blatant problems. Colemak and Dvorak for example.

    [–] clif@lemmy.world 3 points 6 hours ago

    On mechanical typewriters the little arms that slap the steel letters onto the ink ribbon/paper could get physically jammed. QWERTY was designed to make it so that was less likely to happen by placing the keys in an order that discouraged it.

    At least, that's the way I learned it.

    Source: trust me bro

    [–] ThanksForAllTheFish@sh.itjust.works 6 points 14 hours ago (1 children)

    The biggest flaw with cars is when they crash. When I crash my car due to user error, because I made a small mistake, this proves that cars are dangerous. Some other vehicles like planes get around this by only allowing trusted users to do dangerous actions, why can't cars be more like planes? /s

    Always backup important data, always have the ability to restore your backups. If rm doesn't get it, ransomware or a bad/old drive will.

    A sysadmin deleting /bin is annoying, but it shouldn't take them more than a few mins to get a fresh copy from a backup or a donor machine. Or to just be more careful instead.

    [–] ICastFist@programming.dev 1 points 8 hours ago

    Unix aficionados accept occasional file deletion as normal. For example, consider following excerpt from the comp.unix.questions FAQ:
    6) How do I “undelete” a file?
    Someday, you are going to accidentally type something like:
    % rm * .foo
    and find you just deleted “*” instead of “*.foo”. Consider it a rite of passage.
    Of course, any decent systems administrator should be doing regular backups. Check with your sysadmin to see if a recent backup copy of your file is available

    “A rite of passage”? In no other industry could a manufacturer take such a cavalier attitude toward a faulty product. “But your honor, the exploding gas tank was just a rite of passage.”

    There's a reason sane programs ask for confirmation for potentially dangerous commands

    [–] SalmiakDragon@feddit.nu 2 points 12 hours ago (3 children)

    The handbook has numbered pages, so why use "page X of the pdf"? I don't see the page count in my mobile browser - you made me do math.

    (I think it's page number 22 btw, for anyone else wondering)

    [–] MonkderVierte@lemmy.zip 1 points 6 hours ago* (last edited 6 hours ago)
    [–] ICastFist@programming.dev 2 points 8 hours ago

    The handbook has numbered pages, so why use “page X of the pdf”?

    Because the book's page 1 is the pdf's page 41, everything before is numbered with roman numerals :)

    I also wasn't expecting anyone to try and read with a browser or reader that doesn't show the current page number

    [–] StellarSt0rm@lemmy.world 2 points 12 hours ago (2 children)

    I dont know if you use firefox on your phone, but i do, and i fucking hate it that i cant jump to a page or see the page number im on.

    [–] MonkderVierte@lemmy.zip 1 points 6 hours ago

    Mjpdf is decent, while still zen.

    [–] SalmiakDragon@feddit.nu 2 points 11 hours ago

    That is what I'm using. I don't really read enough pdf:s to notice it normally, but I guess it's another reason to get off my ass about switching browsers ¯\_(ツ)_/¯