k5di at zianet.com
Sun Feb 3 12:29:25 UTC 2008
I just set env variable to say joe, with export EDITOR=joe. I need to
test it :-)
Binish A.R wrote:
> The choice of editor depends on the env variable EDITOR.
> Set the env variable to say vi, export EDITOR=vi
> and visudo would open the file in vi instead of nano ;)
> --- On *Sun, 2/3/08, Peter Garrett /<peter.garrett at optusnet.com.au>/* wrote:
> By default on Ubuntu, visudo uses the "nano"
> editor, which is not exactly what you'd expect ;)
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users