Command
Explanation
id displays the user and group IDs of the current or specified user.
Examples
Show current user IDs
Show specific user IDs
Show primary group ID only
id displays the user and group IDs of the current or specified user.
Show current user IDs
Show specific user IDs
Show primary group ID only