sudo

Run commands as another user (usually root)

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
sudo -lCheck what you may run
sudoedit <file>Edit root files safely
sudo -kDrop cached credentials when finished
What it does

Executes a command as root or another user according to /etc/sudoers.

Common flags
FlagMeaning
-uRun as another user
-iLogin shell as root
-sRun a shell
-lList allowed commands
-kForget cached credentials
-EPreserve environment⚠ May leak your environment into a privileged context.
Examples
sudo -lWhat can I run? · explain & risk-check →
sudo systemctl restart nginxSingle privileged command · explain & risk-check →
Related
visudo su sudoedit
Open the full explainer →More in Users, Permissions & Security

Reference text is hand-written and may be incomplete — check man sudo for your version. Test destructive commands on a non-production system first.