Operating Systems

Which Linux command lets an authorized standard user run a single command with superuser privileges?

Show the answer

Correct answerD. sudo

AWhy not this: mount attaches filesystems; it does not grant elevated privileges to other commands.

BWhy not this: fsck checks filesystems for errors and does not elevate privileges.

CWhy not this: su - opens a full login shell as another user rather than running one command.

DWhy this is right: sudo executes a single command as root for authorized users, typically using the user's own password.

sudo runs one command with elevated privileges for users authorized in its configuration. su - instead starts a full login shell as another user and requires that account's password.