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

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

This question belongs to: Computer Operating Systems

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1 Report Error
Which Android subsystem handles the core power management features to optimize battery consumption on mobile chipsets?
A. Wakelocks (via Linux kernel power drivers)
B. Surface Flinger Engine
C. Dalvik Cache Manager
D. Android Package Installer

Correct Answer: Option A


Explanation:
Android utilizes specialized power management routines (such as Wakelocks) integrated into its Linux kernel base to regulate system sleep cycles and battery drain.

This question belongs to: Computer Operating Systems
Question #2 Report Error
Which process state corresponds to a thread that is currently blocked while awaiting an input/output operation to complete?
A. Terminated
B. Waiting (or Blocked)
C. Running
D. Ready

Correct Answer: Option B


Explanation:
A process enters the Waiting or Blocked state when it cannot continue execution until an external event or hardware I/O transfer concludes.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which Windows keyboard shortcut instantly locks the active user account profile, requiring a password entry to log back in?
A. Ctrl + Alt + Delete
B. Windows Key + D
C. Windows Key + L
D. Alt + F4

Correct Answer: Option C


Explanation:
Pressing Windows Key + L signals the desktop shell interface to lock the active session, securing user documents behind the login screen.

This question belongs to: Computer Operating Systems