Re: Guide / Tools
On Fri, 2012-11-23 at 15:20 +0200, Andrei POPESCU wrote:
> On Mi, 21 nov 12, 23:06:52, Ralf Mardorf wrote:
> >
> > I noticed that visudo isn't vi, but nano on my current Ubuntu. Nano
> > seems to be more comfortable than vi.
>
> Set $VISUAL or $EDITOR as needed. Or change your /usr/bin/editor
> alternative.
The variables are "" for this Ubuntu install.
spinymouse@q:~$ ls -hAl /usr/bin/editor
lrwxrwxrwx 1 root root 24 Nov 19 19:30 /usr/bin/editor -> /etc/alternatives/editor
spinymouse@q:~$ ls -hAl /etc/alternatives/editor
lrwxrwxrwx 1 root root 9 Nov 19 19:29 /etc/alternatives/editor -> /bin/nano
Thank you, I wasn't aware that it's handled that way.
Reply to: