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
- A technician wants to see startup impact and disable programs that launch at boot on a modern Windows client. Which tool is most appropriate?
- Which macOS feature provides automated, incremental backups to an external or network drive and lets a user restore previous versions of files?
- On a Linux system, which command displays the current working directory's contents in a long listing that includes permissions and ownership?
- Which macOS utility is used to install applications simply by dragging their bundle into a specific folder, and where are most applications stored?
- Which Windows command releases and then requests a new IP address configuration from a DHCP server?
- A 32-bit version of Windows has a hard limit on how much system RAM it can address. What is that practical limit?
Last reviewed: · editorial process
PrepPass Editorial Team · Verified against CompTIA A+ Core 2 (220-1102) · How we review