visudo
Safely edit the sudoers file. More information: https://www.sudo.ws/man/1.8.13/visudo.man.html.
- Edit the sudoers file:
sudo visudo
- Check the sudoers file for errors:
sudo visudo -c
- Edit the sudoers file using a specific editor:
sudo EDITOR={{editor}} visudo
- Display version information:
visudo --version
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.