Debian 11 uses Joe for visudo how to exit and how to change it to vi.

I have never used joe as an editor so when I ran visudo on a fresh install of Debian 11 I got stuck.  I didn’t even know that joe was an option for visudo.  Oh well.

Quick fix.

sudo update-alternatives --config editor

Also to get out of joe use;

CTRL + C

Yup, the thing that locks up vim works in joe.

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.