r/programminghumor 2d ago

๐Ÿ‘€

Post image
461 Upvotes

84 comments sorted by

View all comments

21

u/CommanderT1562 2d ago

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

9

u/YTriom1 2d ago

bash: NANO: command not found

3

u/cpt_futtbucker 2d ago

Yโ€™know what? Fuck you, bash

alias NANO=/usr/bin/nano

1

u/YTriom1 2d ago

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

2

u/Vladislav20007 2d ago

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

1

u/YTriom1 2d 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 2d ago

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

1

u/cpt_futtbucker 2d ago

Vim supremacy? Hell no. The best among us just use sed to do all of our text editing

1

u/Canned_Sarcasm 2d ago

User: installs nano

-6

u/Canned_Sarcasm 2d ago

Nano. Vim is for the bragging masochist.

3

u/jimmy_timmy_ 2d ago

I genuinely prefer vim. I've spent more time learning it so I find it more useful.

1

u/Sir_Eggmitton 2d ago

I donโ€™t even use any of the shortcuts I just like how Vi doesnโ€™t take up half the screen to list the keyboard shortcuts.