Skip to content
masterclass Buddy

Linux & Shell · Command

sudo

sudo lets a permitted user run a command as root or another user. A security policy decides what is allowed and whether authentication is required.

Last updated

Since
1.8

Syntax

sudo [options] [-i | -s] [command [arg ...]]
sudoedit [options] file ...

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • sudoedit
  • sudoers
  • visudo
  • sudo_plugin
  • sudo.conf

Source: sudo(8) - Linux manual page. Checked 2026-11-03.