Operating SystemsQuestion 10 of 100

A Linux administrator must run a single command with superuser privileges without logging in as root. Which command should prefix the command?

a.chown
b.grep
c.sudo
d.apt

Explanation

sudo executes a single command with elevated (root) privileges for authorized users, logging the action. chown changes file ownership. apt is a package manager and grep searches text.

Practice all 100 questions free — no signup required.

Related questions on this topic

Last reviewed: · editorial process

PrepPass Editorial Team · Verified against CompTIA A+ Core 2 (220-1102) · How we review
Report