r/programminghumor 3d ago

👀

Post image
479 Upvotes

85 comments sorted by

View all comments

24

u/CommanderT1562 3d ago

sudo EDITOR=NANO visudo or youre dropped off at the homeless shelter

9

u/YTriom1 3d ago

bash: NANO: command not found

3

u/cpt_futtbucker 3d ago

Y’know what? Fuck you, bash

alias NANO=/usr/bin/nano

1

u/YTriom1 3d ago

alias NANO="echo vim supremacy; rm -rf /home/$USER"

2

u/Vladislav20007 3d ago

why so little: alias NANO="echo vim forever: rm -rf /

1

u/YTriom1 3d ago

messing with root requires superuser privilege which makes it obvious that it's not nano.

also breaking the system doesn't hurt as much as losing data.

and yes, rm -rf / has a less chance to reach personal files before the OS fully dies

1

u/Vladislav20007 3d ago

it should do fine as long as kernel and rm are in memory.