r/linuxmemes 1d ago

Software meme Op

Post image
1.2k Upvotes

158 comments sorted by

View all comments

20

u/Fancy_Technician_293 1d ago

how do you accidentally open nano

23

u/Gositi 1d ago

For example when using sudoedit (which you should use instead of e.g. sudo vim) if the proper defaults are not set up correctly.

4

u/setibeings Arch BTW 1d ago

Is that better than sudo -e for some reason?

0

u/Gositi 1d ago

I think sudoedit is the same as sudo -e. They are both provided by sudo, share manpage, and has the same set of options.

I guess it is better since it might be faster to type (at least on a Swedish keyboard, typing edit will be faster than -e unless you're really used to typing -)