SESK: Stuff Everyone Should Know · sesk.info/aplus-linux-sudo
Which Linux command lets a permitted user run a command as the superuser or another user?
sudo runs a command as the superuser or another user.
- ls
- sudo ✔
- pwd
Why: sudo checks a security policy to decide who may run which commands as root or another user. Using it only when needed keeps everyday work in a normal account.
Huh, didn't know that: sudo can also edit files as another user with sudoedit.
sudo make me a sandwich. What? Make it yourself. sudo make me a sandwich. Okay.
Like this card?
References
Answer: sudo. sudo checks a security policy to decide who may run which commands as root or another user. Using it only when needed keeps everyday work in a normal account.
- sudo(8), Debian manpages manpages.debian.org/bookworm/sudo/sudo.8.en.html
execute a command as the superuser or another user
Checked 2026-10-11. - sudo(8), Debian manpages manpages.debian.org/bookworm/sudo/sudo.8.en.html
configured via the file /etc/sudoers
Checked 2026-10-11. - sudo(8), Debian manpages manpages.debian.org/bookworm/sudo/sudo.8.en.html
Edit one or more files instead of running a command.
Checked 2026-10-11.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.