Bird
0
0

What information does the id command provide in Linux?

easy📝 Conceptual Q1 of 15
Linux CLI - Users and Groups
What information does the id command provide in Linux?
AUser ID, group ID, and group memberships
BOnly the username
COnly the current directory path
DList of running processes
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of id command

    The id command shows user identity details including user ID (UID), group ID (GID), and groups the user belongs to.
  2. Step 2: Compare options with command output

    Only User ID, group ID, and group memberships correctly lists all information provided by id. Other options describe unrelated info.
  3. Final Answer:

    User ID, group ID, and group memberships -> Option A
  4. Quick Check:

    id command = User and group info [OK]
Quick Trick: Use id to see user and group details quickly [OK]
Common Mistakes:
  • Thinking id shows only username
  • Confusing id with whoami
  • Expecting process info from id

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes