Bird
0
0

What is the main purpose of using sudo in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - Users and Groups
What is the main purpose of using sudo in Linux?
ATo create a new user account
BTo switch to another user account permanently
CTo list files in a directory
DTo run commands with higher privileges than a normal user
Step-by-Step Solution
Solution:
  1. Step 1: Understand what sudo does

    sudo allows a user to run commands with elevated privileges, usually root access.
  2. Step 2: Compare options with sudo purpose

    Only To run commands with higher privileges than a normal user describes running commands with higher privileges, which matches sudo's main use.
  3. Final Answer:

    To run commands with higher privileges than a normal user -> Option D
  4. Quick Check:

    sudo = elevated privileges [OK]
Quick Trick: sudo means run as superuser or admin [OK]
Common Mistakes:
  • Confusing sudo with user switching commands
  • Thinking sudo creates users
  • Assuming sudo lists files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes