System Grab Bag

View all TLDR pages from common (or from all pages)

visudo

Safely edit the sudoers file. More information: https://www.sudo.ws/docs/man/visudo.man.
  • 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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.