Introduction
Sometimes you need to do tasks on your computer that require special permission. The sudo command lets you run commands as a superuser or administrator to do these tasks safely.
When you want to install new software on your Linux system.
When you need to change system files that normal users cannot edit.
When you want to restart system services like networking or web servers.
When you want to add or remove users from the system.
When you want to update your system packages.