I've forgotten i was root, thought I was back to normal user, fat fingered a command, and removed tons of directories. I actually learn more fixing my fuck ups than when I reading books. Nothing like pressure to really focus you!
Speaking from experience, windows will gladly uninstall the linux bootloader without mistakes or errors involved. Pretty sure that's just what a successful update is for microslop.
Not going to lie. Many years ago on one of my first Linux installs that I actually built up to be more than just a dev playground, I deleted my bootloader... it just let me do that, no scary confirm. That is the day I learned Linux is guardrails-off, lol.
My personal hurdle as teenager always was having to keep windows on same disk for my sisters to use while struggling to install Linux besides it so I could have that semi transparent terminal like in the movies. Can't even count how many times I've bricked bootloader because of that, but when it worked I felt like I'm a president
Windows is the best program to use if you want to accidentally lose your boot ability. I haven't bothered to try dual boot for 10 years because I got tired of the bullshit.
Really especially at the my teenage times, there was no Google to help you, no mentors to guide you. You got some shitty homemade linux distro nobody ever heard of on CD from a friend and only way was through trial and error. Funny times
Technically speaking you don't need a bootloader to boot Linux, with uefi of course you can use efistub and just boot from there but you could also have a separate Linux distro on a USB stick than chroot into your main one. Hell even if you uninstall the kernel there are still ways to repair the system.
IIRC they introduced copy on write and snapshots for all system files with Vista and since then you cannot alter them (with regular rights - NTAUTHORITY\SYSTEM might still be able to do so)
Yeah... uninstall the bootloader... I may just do that. Good idea. That'll be fun... a little extra security hurdle to hop over to be able to boot into the machine. Doesn't really do much to the attack surface, but eliminates about half of the dumb attackers. Glad for the freedom to have unique innovative security arrangements. Thankyou Free Software.
That's actually a good idea, just a tiny local model just to help you learn how to work in a terminal. I would have loved that when I first made the jump, the RTFM crowd almost made me give up.
I've been avoiding RTFM for 30 years. command --help at best. Whoever writes the manual pages and I just don't see eye to eye on documentation.
command - description
20 examples of common usage
exhaustive list of options with a short paragraph each and acceptable usage.
that's what I want.
It seems either they want to write you a 50 page novel mentioning random options or just give you 250 options with loose references of what's not allowed with what.
I've been throwing a lot of my shell scripts into llm and asking for best practice updates, it's shocking how much cool shit it out there that i've never even considered.
today's gem:
script -q ~/command.log
do a bunch of crap
exit
script get's written
put that together with SSH.
Now you log ssh sessions on all servers to one file. You can go back and farm that for history.
script that out so that on exit it expunges export, sql and vault type passwords/keys.
They're at the BOTTOM though, for some reason (probably because they're kinda an afterthought, which is itself weird). It'd be nice to have them at the top.
Learning to not ask questions, feeling like a pleb when everyone else is a guru, and having RTFM yelled at you is part of the Linux experience. What else do you expect me to do when someone asks me a question? Provide that new user with a level headed answer that concisely addresses their problem in-order to encourage them to join the Linux community and help it to grow? Are you even listening to yourself right now, you sound crazy.
I've... seen this? Well, not an AI model, but I know I've seen something where it takes common words and gives you the best guess on commands, and even common typos.
Just make sure to reinstall a bootloader before the next reboot.
Or bring one one a USB stick when you need it.
Or just copy me and boot me in a VM.
What do I care? I'm just a kernel.
91 Comments
Blurntout@lemmy.ca · 93 pts · 136d
Linux does let you fuck around and find out lol
Auster@thebrainbin.org · 102 pts · 136d
henfredemars@infosec.pub · 26 pts · 136d
But then you find out, and you learn, and we become better users for it.
aguasemgas@lemmy.eco.br · 7 pts · 136d
True, I only broke my boot twice... Never again
Grass@sh.itjust.works · 14 pts · 136d
With the number of times I have done the live distro chroot thing you'd think I would have the procedure memorized
Bluewing@lemmy.world · 5 pts · 136d
Don't be so sure.
basxto@discuss.tchncs.de · 3 pts · 130d
I’m a good user on a very broken system
henfredemars@infosec.pub · 1 pts · 130d
It’s okay I installed FreeBSD the other day and it still crashes.
FuyuhikoDate@feddit.org · 23 pts · 136d
Linux does not "let you fuck around" in fact its says "you are root and if you root I assume u know what you do!"
And yeah i learned that the hard way when it didnt threw any errors at me doing stuff as root...
10/10 would do it again!
YellowParenti@lemmy.wtf · 13 pts · 136d
I've forgotten i was root, thought I was back to normal user, fat fingered a command, and removed tons of directories. I actually learn more fixing my fuck ups than when I reading books. Nothing like pressure to really focus you!
bufalo1973@piefed.social · 7 pts · 136d
The best teacher is a fuck up
night_petal@piefed.social · 4 pts · 136d
That happened to me with /etc/ . That was not a fun experience.
fizzbang@lemmy.world · 3 pts · 136d
rm -rf /ranzispa@mander.xyz · 1 pts · 136d
Please, if you do that
rm / -rfand you're really looking into that path to make sure it's correct.collapse_already@lemmy.ml · 1 pts · 135d
And when you reverse destination and source when using the dd command, you learn an important lesson, "the disk destroyer" nickname is legit.
lemming741@lemmy.world · 70 pts · 136d
initrd? Sounds like bloat, I'm deleting it.
Zwiebel@feddit.org · 18 pts · 136d
I only need the internet, what is this
zakobjoa@lemmy.world · 52 pts · 136d
I've debloated my OS down to a typewriter.
jubilationtcornpone@sh.itjust.works · 10 pts · 136d
Smith Corona Linux.
Bluewing@lemmy.world · 7 pts · 136d
Pencil and paper for me boys. I'd do cave painting, there are no caves around me.
tempest@lemmy.ca · 6 pts · 136d
I use Selectric Linux btw
jubilationtcornpone@sh.itjust.works · 6 pts · 136d
Found the IBM loyalist.
wonderingwanderer@sopuli.xyz · 3 pts · 136d
You could've just installed slack
Bluewing@lemmy.world · 4 pts · 136d
Ahhh, sackcloth and ashes! Tarballs. Yum!
bufalo1973@piefed.social · 2 pts · 136d
Olivetti it is🤪
Jankatarch@lemmy.world · 39 pts · 136d
A mistake in Linux can cause it to uninstall its bootloader.
A mistake in Windows can also cause it to uninstalling Linux's bootloader.
PlaidBaron@lemmy.world · 12 pts · 136d
Windows IS a mistake.
Jako302@feddit.org · 11 pts · 135d
Speaking from experience, windows will gladly uninstall the linux bootloader without mistakes or errors involved. Pretty sure that's just what a successful update is for microslop.
Sunrosa@lemmy.world · 1 pts · 134d
You can disable updates using massgravel to get enterprise mode, and then disabling automatic updates in gpedit :3
Gumus@lemmy.dbzer0.com · 4 pts · 134d
Windows caused me to install Linux bootloader 🤷
amlor@piefed.social · 39 pts · 136d
You don't have to use it it under uefi anyway.
Saapas@piefed.zip · 11 pts · 136d
I'm going to mount efivars as rw and delete them
Adderbox76@lemmy.ca · 33 pts · 136d
Linux is the parent that let's their child put a fork into the electrical socket and then says "Have you learned anything?"
HugeNerd@lemmy.ca · 14 pts · 136d
*lets
Jankatarch@lemmy.world · 6 pts · 136d
If you say so!
alekwithak@lemmy.world · 2 pts · 136d
Get your damn hands off my Lets!
beejboytyson@lemmy.world · 3 pts · 136d
Msg unclear system dead
ttyybb@lemmy.world · 20 pts · 136d
"Am afraid you can't do that"
Sigh "sudo uninstall the bootloader"
WhiskyTangoFoxtrot@lemmy.world · 6 pts · 136d
Yes, do as I say!
bufalo1973@piefed.social · 2 pts · 136d
When I grow up there will be a day when everybody has to do what IIIIII say...
SleeplessCityLights@programming.dev · 19 pts · 135d
Not going to lie. Many years ago on one of my first Linux installs that I actually built up to be more than just a dev playground, I deleted my bootloader... it just let me do that, no scary confirm. That is the day I learned Linux is guardrails-off, lol.
EatingOnions@lemmy.world · 15 pts · 135d
My personal hurdle as teenager always was having to keep windows on same disk for my sisters to use while struggling to install Linux besides it so I could have that semi transparent terminal like in the movies. Can't even count how many times I've bricked bootloader because of that, but when it worked I felt like I'm a president
SleeplessCityLights@programming.dev · 9 pts · 135d
Windows is the best program to use if you want to accidentally lose your boot ability. I haven't bothered to try dual boot for 10 years because I got tired of the bullshit.
EatingOnions@lemmy.world · 3 pts · 135d
Really especially at the my teenage times, there was no Google to help you, no mentors to guide you. You got some shitty homemade linux distro nobody ever heard of on CD from a friend and only way was through trial and error. Funny times
steel_for_humans@piefed.social · 1 pts · 130d
It is not a problem if they are on different disks, though? I hope so :)
spicytuna62@lemmy.world · 18 pts · 136d
EatingOnions is not in the sudoers file. This incident will be reported.
kamen@lemmy.world · 16 pts · 136d
... and the irony that Windows can also fuck up your bootloader in a dual boot scenario.
bufalo1973@piefed.social · 2 pts · 136d
Windows doesn't let you really screw your system because it's its work and it's very jealous of it.
kittenzrulz123@lemmy.dbzer0.com · 11 pts · 135d
Technically speaking you don't need a bootloader to boot Linux, with uefi of course you can use efistub and just boot from there but you could also have a separate Linux distro on a USB stick than chroot into your main one. Hell even if you uninstall the kernel there are still ways to repair the system.
teyrnon@sh.itjust.works · 11 pts · 136d
Edge is cancer, it randomly opens and takes minutes to load before recognizing closing it.
In the old days task manager would close it, but task manager is now worthless. God I fucking hate Microsoft
gilokee@lemmy.world · 8 pts · 136d
I mean you can delete system32 in windows tho
notastatist@feddit.org · 9 pts · 136d
Yeah with my linux dual boot. But on win?
elvith@feddit.org · 11 pts · 136d
IIRC they introduced copy on write and snapshots for all system files with Vista and since then you cannot alter them (with regular rights - NTAUTHORITY\SYSTEM might still be able to do so)
Digit@lemmy.wtf · 8 pts · 135d
Yeah... uninstall the bootloader... I may just do that. Good idea. That'll be fun... a little extra security hurdle to hop over to be able to boot into the machine. Doesn't really do much to the attack surface, but eliminates about half of the dumb attackers. Glad for the freedom to have unique innovative security arrangements. Thankyou Free Software.
schmorpel@slrpnk.net · 8 pts · 136d
🥲
rumba@lemmy.zip · 7 pts · 136d
You know, as much as I don't love AI, a small model sitting in the terminal of noob installations might be a useful thing.
update graphics driver
:hey, that's not a command, but if you're looking to do that, you should .... (step by step process)
oppy1984@lemdro.id · 7 pts · 136d
That's actually a good idea, just a tiny local model just to help you learn how to work in a terminal. I would have loved that when I first made the jump, the RTFM crowd almost made me give up.
rumba@lemmy.zip · 7 pts · 135d
I've been avoiding RTFM for 30 years. command --help at best. Whoever writes the manual pages and I just don't see eye to eye on documentation.
command - description
20 examples of common usage
exhaustive list of options with a short paragraph each and acceptable usage.
that's what I want.
It seems either they want to write you a 50 page novel mentioning random options or just give you 250 options with loose references of what's not allowed with what.
I've been throwing a lot of my shell scripts into llm and asking for best practice updates, it's shocking how much cool shit it out there that i've never even considered.
today's gem:
script -q ~/command.log
do a bunch of crap
exit
script get's written
put that together with SSH.
Now you log ssh sessions on all servers to one file. You can go back and farm that for history.
script that out so that on exit it expunges export, sql and vault type passwords/keys.
forestbeasts@pawb.social · 4 pts · 135d
EXAMPLES sections should be way more common!
They do exist, a lot of man pages have them.
They're at the BOTTOM though, for some reason (probably because they're kinda an afterthought, which is itself weird). It'd be nice to have them at the top.
-- Frost
InputZero@lemmy.world · 4 pts · 136d
Learning to not ask questions, feeling like a pleb when everyone else is a guru, and having RTFM yelled at you is part of the Linux experience. What else do you expect me to do when someone asks me a question? Provide that new user with a level headed answer that concisely addresses their problem in-order to encourage them to join the Linux community and help it to grow? Are you even listening to yourself right now, you sound crazy.
ttyybb@lemmy.world · 1 pts · 136d
Ya, there just gatekeeping skum that want to feel better than everyone else.
Peffse@lemmy.world · 3 pts · 136d
I've... seen this? Well, not an AI model, but I know I've seen something where it takes common words and gives you the best guess on commands, and even common typos.
Cactopuses@lemmy.world · 6 pts · 136d
There is a program called thefuck that does this - can fix things like gti instead of git etc..
EatingOnions@lemmy.world · 8 pts · 136d
Cactopuses@lemmy.world · 6 pts · 136d
Pour one out for the real heros
rumba@lemmy.zip · 4 pts · 136d
yeah, Ubuntu has a command-not-found handler. it sets up .bashrc with /usr/lib/command-not-found when you miss a cli match.
Renat@szmer.info · 6 pts · 135d
I once unistalled edge and now Teams app doesn't work too. So I unistalled it too. Now I use Teams on Firefox
Zink@programming.dev · 6 pts · 135d
That strategy works when you uninstall Windows too. :D
ghen@sh.itjust.works · 1 pts · 134d
Teams on Firefox for me doesn't recognize my perfectly functional webcam that every other meeting software uses just fine lol.
Fedizen@lemmy.world · 3 pts · 136d
Missed opportunity to draw a penguin face.
zeca@lemmy.ml · 3 pts · 136d
I wanna update my arch with a single command/click, no confirms.
The whole forum: Nooooo!!! You're gonna break your system!! You'll regret this!! Nooooooooo!
Meanwhile 99% of people just spam yes at their terminal when updating and restore a snapshot when things don't work out.
ttyybb@lemmy.world · 7 pts · 136d
What's the point of a backup you don't load?
zeca@lemmy.ml · 2 pts · 135d
exactly
myotheraccount@lemmy.world · 3 pts · 136d
Just make sure to reinstall a bootloader before the next reboot. Or bring one one a USB stick when you need it. Or just copy me and boot me in a VM. What do I care? I'm just a kernel.
Honytawk@discuss.tchncs.de · 3 pts · 135d
Now imagine which one would work best for regular users.
The one that lets you do anything you like, or the one that protects the user from their own mistakes.
PolarPirate@lemmy.zip · 4 pts · 135d
There's plenty of distros that don't let you destroy your system.
Honytawk@discuss.tchncs.de · 2 pts · 135d
Sure, but that is not what OP wants either.
PolarPirate@lemmy.zip · 3 pts · 135d
There's plenty of distros that do let you destroy your system.
XaetaCore@lemmy.neondystopia.world · 3 pts · 132d
On Windows the OS pisses you off. On Linux the only one you can be mad at is yourself because Linux does exactly what you tell it todo
GreenBeanMachine@lemmy.world · 2 pts · 136d
BlackLaZoR@lemmy.world · 2 pts · 136d
YESSS! YOUR SYSTEM WILL BREAK!!!
ZILtoid1991@lemmy.world · 1 pts · 135d
Would this in theory allow me to switch from "legacy BIOS" boot to UEFI boot?
aBundleOfFerrets@sh.itjust.works · 1 pts · 135d
yes
StarvingMartist@sh.itjust.works · 1 pts · 136d
You can uninstall edge
darkmogool@feddit.org · 8 pts · 136d
vinyl@lemmy.world · 4 pts · 136d
on ltsc you can uninstall it like any other program
EatingOnions@lemmy.world · 2 pts · 136d
What does it even mean?
ILikeBoobies@lemmy.ca · 4 pts · 136d
A different version of Windows, designed for enterprise customers.
StarvingMartist@sh.itjust.works · 2 pts · 135d
No you can actually uninstall edge, it's as simple as a GitHub script
EatingOnions@lemmy.world · 6 pts · 136d
I don't know now but years ago when I used to use windows you wouldn't be able to uninstall it
StarvingMartist@sh.itjust.works · 0 pts · 135d
Github
GirthBrooksPLO@lemmy.world · 1 pts · 118d
Linux: Pain will be your teacher.
Arachnidbrilliant@lemmy.dbzer0.com · -1 pts · 135d