minus-squarejohant@lemmy.mltoLinux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"linkfedilinkarrow-up1·1 day agoThe EDITOR or VISUAL environment variables are usually read by command line tools to launch your preferred editor. You could set VISUAL to nano before launching visudo and you would be editing the sudoers file in nano. linkfedilink
The
EDITOR
orVISUAL
environment variables are usually read by command line tools to launch your preferred editor. You could setVISUAL
tonano
before launching visudo and you would be editing the sudoers file in nano.