I once forgot to install the Linux package when I was installing Arch on a system. Linux even let’s you not use Linux, if you like.
It didn’t boot.
While great, we should also have some safe guards so normies can use linux without destroying their entire system
Linux is not free like in “freeware” but in “free to fuck yourself if you want”
Free as in climbing
Free as in fallin’?
It’s both. Free as in free beer (gratis) and free as in freedom (libre).
Obligatory reminder to remove the French language pack:
sudo rm -fr /*
My brother did this accidentally… twice… Don’t ask me how you manage to do this twice…
I mean… You’re not wrong. If there’s a French language pack on the system, it will remove it.
Tap for spoiler
Along with everything else.
I add a -v because I like to watch.
You sick Bastard.
alias trash-put from trash-cli in both sudo and user.
myrm() { trash-put "$@" } alias rm="myrm"
This has saved my ass so many times. Especially when typing “rm * .png” instead of “rm *.png”
Can restore the files using the cli or from system recycling bin.
The alias to rm is probably not best. So getting use to using another name is probably best. But I’m never had a problem with it.
That feeling where rm is taking a while to return to the prompt
Exactly. Ctrl+C and hope ls isn’t completely empty.
Or just use snapshots. If you are into aliases make an alias for rm to make a snapshot before deleting something.
I’ve never ran into any issues from using rm but I like this idea and will be using it as I only see positives
Downsides can be inconsistent behavior. As with any alias it’s not meant to be anything but a replacement in your shell. Scripts/SSH etc.
Also, you gotta remember to empty your trash. :)
help
Did you actually run it?
In this case, I hope you had a backup. Boot a live system to see if there’s anything left. Back that up, then reinstall.
make sure to add
--no-preserved-root
to make sure to update all the English libraries too so you can make sure only freedom fries are respected.No preserved root because candied ginger is gross
I think you mean:
sudo I want to delete everything to corrupt my system
sudo dd if=/dev/urandom of=$(df | grep '\s/$' | cut -d' ' -f1)
(Omit the
if you are using the fish terminal)
One good use for AI was a great breakdown of what exactly that command does. I like it.
“Write random shit to root.”
There is a reason they call dd the disk-destroyer.
accidentally deleted every dependency VLC requires instead of deleting VLC. Absolutely recked EVERYTHING on my PC.
I deserve it for trying to remove the best video player 😔
I managed to remove all the kernels instead of all the old kernels. It was a good learning experience fixing it later, and now I pay much more attention when
apt
warns about “potentially dangerous operations”.Remove and reinstall VLC should install all the dependencies, yeah?
@TriflingToad @azha apt moment…
I just uninstalled edge on my laptop (still windows for work/study compatability)
EU laws!
It will be back on next update😭
And in larger numbers.
Even with the “proper” uninstall I can do now? noooo, I thought that was only for deleting the files!
Edge is the El Cucaracha of browsers, u can never truly kill it
seems pretty dead to me on my linux machine
I once tried to delete something I was not supposed to and the system was quite adamant on advising against it. The system was to be reinstalled so I was just trying things.
It’s been a while but I recall the system giving me a first warning that my command woud delete X, Y and Z, which could render the system inoperable.
Then it questioned me if I was sure I wanted to proceed with the operation.
The final warning was a sum of the potential damage I would do to the system and that it would be irreversible, without a full system install.
So, three strikes.
I remember when windows would let you delete system32 but not Internet Explorer.
As a user, I hate when an OS gets in my way. Or insists that there is one right way to do something.
As the tech support guy in my family, I’m grateful that windows denies permission, has big guard rails, and forces you to do updates.
Bruh. For how many years did Windows make every luddite, child, and grandparent default Administrator with full, unprompted access to install viruses, run scripts, and delete system files?
Isn’t that still the case with Linux now?
Just add sudo to your commands
Nah. Fuck forced updates. Only time I’m forced to use windows is for work.
I have to play the “low battery” game when it starts notifying me during work. Unplugging and repowering the laptop right below 10% so it won’t restart and disconnect my VM and SSH sessions I’m using for work.
I don’t care what anyone says. Updates that can’t have a forever “give me 1 more hour” indefinitely are just going to destroy work.
Suddenly restarting in the middle of someone working is just awful design. I don’t care how many “warnings” there are.
I’m connected to a remote session and doing work. If you restart my computer I could lose my work. The OS is not some self contained thing you can always save the state in.
Unplugging and repowering the laptop right below 10% so it won’t restart and disconnect my VM and SSH sessions I’m using for work.
For SSH, assuming that the remote system is Linux, run
tmux
on the remote system and do your work in that. If your SSH connection gets killed off, you just ssh back in andtmux attach
to your old tmux session.
I suppose immutable systems are ment to stop the end user from bugging out the system but even regular Linux distrios need to assume that there users are incompetent cus I am.
I managed to destroy my immutable linux install by resizing the OS partition while it was running.
I would argue that that mistake is indeed on you and the possibility of failure likely predictable. (At least if you were shrinking it)
Android: screenshot dir? Use DIRECTORY_PICTURES env variable. Changing either? Lol, eat dirt pleb.
Narrator: “Turned out Windows never needed Edge to work”
It doesn’t even need it to show you ads on your purchased OS, they just do it to be dicks.
yes, do as I say!
Yes, do as I say!
Yup. And I’ve seen countless “articles” by trust-me-i-am-it-guru’s whining that this is allowed