System
sudo
Run a command with elevated privileges.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-09-09
Syntax
$sudo [OPTIONEN] BEFEHL
Examples
$sudo apt update
$sudo systemctl restart nginx
Typical use cases
?
Standard usage
sudo --help
Note
Sudo is available in most distributions and allows for finer access control.
Export