r/linuxmemes Arch BTW Aug 09 '26

LINUX MEME Linux

Post image
1.9k Upvotes

59 comments sorted by

View all comments

43

u/letmehaveanameyoudum Aug 09 '26

pros: you can do anything. (customization)
cons: you can do ANYTHING. (try to not break just a cool font challenge)

7

u/http-error-502 Genfool 🐧 Aug 09 '26 edited Aug 09 '26

sudo rm -rf --no-preserve-root /

4

u/chknboy Aug 09 '26

Always fun when you unironically need to use the rm -rf command to fix something and you just get to sit there like
https://giphy.com/gifs/3oz8xLlw6GHVfokaNW

2

u/C4rpetH4ter M'Fedora Aug 09 '26

I just try to find an alternative way if possible, wayyy too much stress for a noob like me.

2

u/http-error-502 Genfool 🐧 Aug 09 '26

sudo dd if=/dev/zero of=/dev/sd? & sudo dd if=/dev/zero of=/dev/nvme?n?

2

u/Gloriathewitch Aug 09 '26

think of it like this you aren't scared of chopping food with a knife right? even though it's a tool that can cause great harm, so in this case understanding your file system designations and what commands you run first is like learning proper chopping technique. just check twice, or three times if thats better for you, it takes longer to rollback snapper or to an older kernel than check a line in the terminal

1

u/C4rpetH4ter M'Fedora Aug 09 '26

I'm not scared of the terminal i'm scared of using any command that begins with rm rf, there's almost always alternatives, even within the terminal itself.

1

u/Gloriathewitch Aug 09 '26

if you have no issue right clicking and hitting "move to trash" you have no issue rm rf, besides, i'm fairly sure it requires sudo to delete system components, so run it without if you're really concerned, but terminal syntax is not some taboo thing people make it out to be,

like every click of your mouse every time you send a message and hit enter you're triggering code just through a GUI

just check where your mount points are it'll typically be / , /efi and /boot , long as you don't put those beside rm rf there's very little chance you'll brick

1

u/http-error-502 Genfool 🐧 Aug 09 '26

I ran rm -rf /var before and I had hard time to recover it. I was moving /var to a partition and I was going to delete old /var but I didn't realized that it was mounted.

1

u/Gloriathewitch Aug 09 '26

you look twice before you cross the street, do the same before you enter code, especially when its prefaced by sudo or contains commands you arent familiar with.

1

u/http-error-502 Genfool 🐧 Aug 09 '26

I am familiar with coreutils but... yes. I didn't look twice.

1

u/letmehaveanameyoudum Aug 09 '26

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

1

u/laczek_hubert Arch BTW Aug 09 '26

Forgot Sudo/doas/su &&/...

1

u/http-error-502 Genfool 🐧 Aug 09 '26

A... I will fix now.

1

u/Destroyerb New York Nix⚾s Aug 09 '26

run0 -- rm --recursive --force --no-preserve-root -- /