sudo
sudo is a Linux command in the Permissions category, rated intermediate difficulty. Executes a command with superuser (root) privileges. The syntax is sudo [options] command. Key options and parameters: command — command to run as root. It returns command output (with elevated privileges). A practical example: sudo apt update sudo -u www-data command # Run as specific user sudo -s # Start root shell sudo -k # Reset cached credentials A close relative is chmod, which changes file permissions (read, write, execute) for owner/group/others. A close relative is chown, which changes file owner and/or group ownership. A close relative is chgrp, which changes group ownership of files and directories. More about this category: Linux permission commands — chmod, chown, chgrp, umask, and more. Manage file permissions and ownership. Related Permissions commands: chmod, chown, chgrp, umask, su, getfacl, setfacl, chattr.