D

Dhruva Jagannath • 660 Points
Invincible

Q. Which command is used to print the current user ID and group ID?

  • (A) whoami
  • (B) id
  • (C) userinfo
  • (D) who
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Linux
  • Hashtags:

Explanation by: Dhruva Jagannath
'id' prints user ID (UID), group ID (GID), and the groups you belong to.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.