Multiple choice technology operating systems

The command 'id' displays user's

  1. hostid

  2. Only userid

  3. Userid and groupid

  4. hostname

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Unix 'id' command displays the user ID (uid), group ID (gid), and all group memberships for the current user. It shows both userid and groupid information.