• Rabbithole@kbin.social
    link
    fedilink
    arrow-up
    40
    arrow-down
    13
    ·
    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
      18
      ·
      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
        10
        ·
        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.

    • 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.

    • NightoftheLemmy@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      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.

    • whoamibro@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      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
        4
        ·
        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
            5
            ·
            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
              4
              ·
              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
                2
                ·
                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.

  • pezhore@lemmy.ml
    link
    fedilink
    arrow-up
    23
    ·
    1 year ago

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

        • RealBlstr@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

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

          • mfn77@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 year 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
              arrow-up
              1
              ·
              edit-2
              1 year 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
          arrow-up
          2
          ·
          1 year 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.

  • zephyrvs@lemmy.ml
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year 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
      arrow-up
      14
      arrow-down
      1
      ·
      1 year ago

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

        • Viking_Hippie@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          8
          ·
          1 year 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
              arrow-up
              4
              ·
              1 year 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@lemm.ee
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 year ago

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

  • CoupleOfConcerns@lemmy.nz
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year 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
      arrow-up
      8
      ·
      1 year 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.

      • cmbabul@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’m convinced that if StackOverflow goes down society would follow within a matter of weeks.

  • DucktorZee@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year 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.

  • Belgdore@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    1 year 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.

  • bdonvr@thelemmy.club
    link
    fedilink
    arrow-up
    5
    ·
    1 year 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.

  • Crow@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 year 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.

  • Pensi@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year 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
      arrow-up
      2
      ·
      1 year 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
        arrow-up
        5
        ·
        1 year 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
          arrow-up
          2
          ·
          1 year 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
        arrow-up
        4
        ·
        1 year ago

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

        • Eccitaze@yiffit.net
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          1 year 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)

        • cmbabul@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year 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

  • eric5949@lemmy.cloudaf.site
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’ve spent some much time in a terminal the last week I’m starting to Ctrl+x anytime I want to save anything lol. Even illustrator files at work lol.