In Linux, what does the 'sudo' command do? MCQ with Answer and Explanation

In Linux, what does the 'sudo' command do?
A. Switches the user to root
B. Changes the user's password
C. Allows a user to execute commands with superuser privileges
D. Shuts down the system
Answer: Option C
Solution (By JKSSB Mock Tests)
sudo (superuser do) permits authorized users to run commands as the superuser or another user.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
What is the name of the central management module in Windows that controls hardware configuration and manages device updates or rollbacks?
A. Task Scheduler
B. Disk Management
C. System Configuration
D. Device Manager

Correct Answer: Option D


Explanation:
Device Manager is a Control Panel applet in Windows that allows users to view and control the hardware attached to the computer.

This question belongs to: Computer Operating Systems
Question #2
Which Linux terminal command displays information detailing the underlying operating system kernel version and machine architecture metrics?
A. who
B. lsmod
C. uname -a
D. pwd

Correct Answer: Option C


Explanation:
The 'uname' command equipped with the '-a' flag outputs comprehensive platform details including kernel build tags and processor architecture.

This question belongs to: Computer Operating Systems
Question #3
Which Android feature uses a special partition format to store encrypted user credentials separately from application application resources?
A. App Sandbox Permissions
B. Dalvik Cache Allocation
C. File-Based Encryption (FBE)
D. Zygote Isolation Layer

Correct Answer: Option C


Explanation:
Modern Android installations leverage File-Based Encryption (FBE) to isolate distinct files with individual keys, securing corporate or user credentials independently.

This question belongs to: Computer Operating Systems