Operating SystemsQuestion 36 of 100

What is the function of the 'sudo' command in Linux?

a.To shut down the network
b.To list all running processes
c.To compress files
d.To run a command with elevated (superuser) privileges

Explanation

The sudo command lets a permitted user execute a command with the privileges of the superuser (root). This is used for administrative tasks that require elevated access. It provides an audit trail and avoids the need to log in as root directly.

Practice all 100 questions free — no signup required.

Related questions on this topic

Last reviewed: · editorial process

PrepPass Editorial Team · Verified against Google IT Support Professional Certificate · How we review
Report