• zorro@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    6 days ago

    Don’t forget to remove the tuber preserves with --no-preserve-root

    • TriflingToad@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      9
      ·
      5 days ago

      no it’s not. What IS keeping it from being mainstream is googling something basic like “how to run .sh linux” and getting nothing but

      sudo chmod +x li.sh

      Along with 3 other paragraphs of reading, writing, and security, or just other complicated stuff they don’t need when they really just need to click properties then allow executable.

      • CrayonRosary@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        4 days ago

        That’s not comparable. The situations are quite different. Let me explain:

        In your example: Windows. It’s basically the “default” operating system. Billions of users. Some of those billions are kinda dumb and will type in a command or delete a folder because the Internet said so. Ok, so you ruined the day of some dummy with a practical joke. Not particularly funny, but whatever, it’s just some dummy.

        In the Linux example, here’s how it goes. There’s an alternative OS people can try out. People who are fed up with Microsoft. They install Linux for the first time, and what’s their first experience? Some practical joke ruins their day. These are the people we want! The good ones. The ones brave enough to try out Linux, and their first experience is a dumb meme that ruins their day, or week, and totally turns them off from the Linux community.

        This is not the same as pranking some dumb Windows users.

  • N3Cr0@lemmy.worldOP
    link
    fedilink
    arrow-up
    106
    arrow-down
    2
    ·
    6 days ago

    Pro tip: Omit the dot . before the / to make sure you cleansed the language pack thoroughly.

    • Barbarian@sh.itjust.works
      link
      fedilink
      arrow-up
      29
      ·
      edit-2
      5 days ago

      And to avoid annoying error messages about preserving the root of the language, add a * at the end. Final command should look like this:

      sudo rm -fr /*

      • ggppjj@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        5 days ago

        Gotta make sure the root language is removed also. Add --no-preserve-root for that.

      • Mouselemming@sh.itjust.works
        link
        fedilink
        arrow-up
        18
        ·
        5 days ago

        So I know nothing and just wandered in here from Top, but this translates as, “Fuck you, all of you, French language, I show you my butthole,” right?

        • Barbarian@sh.itjust.works
          link
          fedilink
          arrow-up
          49
          arrow-down
          1
          ·
          edit-2
          5 days ago

          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 targeting C:.

          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 tells rm 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.

  • photonic_sorcerer@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    My filesystem is btrfs and I’ve got timeshift setup, how hard will this fuck me, if at all? Is there anyway I can be fucked harder? (Asking for a friend)

    • Zozano@lemy.lol
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 days ago

      Depends, are you backing up to another partition or drive?

      If not, you’re pretty fucked.

      • Petter1@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        5 days ago

        Aren’t snapshots in btrfs above root?

        Edit: they are in “subvolumes”

        Source: ChatGPT

        On a Btrfs filesystem, running rm -rf /* will attempt to delete everything in the root directory, which includes all files and directories accessible to your permissions. However, Btrfs snapshots are designed to be resistant to regular file deletion commands. Here’s what happens:

        1. Snapshots remain intact: rm -rf /* doesn’t automatically delete snapshots because snapshots are stored in special subvolumes. By default, this command won’t affect subvolumes that are not mounted within the filesystem you’re deleting from.

        2. You would need specific commands to delete snapshots: To delete snapshots on Btrfs, you would typically use a command like btrfs subvolume delete <snapshot> for each snapshot individually, as snapshots are managed by the filesystem and not treated as standard directories.

        3. The data inside the snapshots is preserved: Even if files in the root filesystem are deleted, any data captured in snapshots remains, as snapshots are essentially read-only copies at a certain point in time.

        Important Note: If the snapshots are mounted and accessible in the directory tree where rm -rf /* is run, you could accidentally delete them if the command traverses into the snapshots’ directories. To protect snapshots, administrators often mount them in isolated directories (e.g., /snapshots) or keep them unmounted until explicitly needed.

        In summary, unless you run specific deletion commands for Btrfs subvolumes, snapshots should remain unaffected by rm -rf /* due to the unique way Btrfs manages snapshots.

  • MrMobius @sh.itjust.works
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    5 days ago

    Although I’m French, I still laugh at the stupid memes by the English speaking internet that make fun of my people. Then again, there is a sense of justice in imagining people falling for this. 😁

    • bluemite@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      5 days ago

      How do you think this is making fun of your people? It’s making fun of non-French people that would want to “remove the French language pack” because they’re not French

      • MrMobius @sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        5 days ago

        This is not making fun of french people, but this might trick people who laugh at french people. That made me smile I must admit.

    • Barbarian@sh.itjust.works
      link
      fedilink
      arrow-up
      18
      ·
      5 days ago

      This is very much the Linux version of the old tricking gamers to alt+F4 gag.

      My favorite was when I was teaching a friend Squad, and we were in a vehicle. I explained you hit the F keys to change seat (which is true), so F1, F2, F3, etc. Noticing that seats 1, 2 and 3 were filled, I then told him he can hold down alt to swap seats faster. He then immediately quits the game xD

      • theangryseal@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        5 days ago

        Bro, the Counter-Strike devs put porn in the game. I’m surprised they were all able to get away with it.

        Huh? Oh no, dude it’s easy. Hold alt and press f4 and it brings it up. Then just browse it with the s and d keys.

        Bahahaha! Half the lobby is gone!

  • Gork@lemm.ee
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    5 days ago

    Ever since Napoleon, the Fr*nch have tried to take over Linux to implement their régime baguette.