visudo Command Examples

Safely edit the sudoers file. More information: https://www.sudo.ws/docs/man/visudo.man.

sudo visudo

sudo visudo -c

sudo EDITOR={{editor}} visudo

visudo --version