Get a User’s User ID (UID), main Group ID (GID) and Supplementary Groups – See if user exists28 September 2011 in Bash / GNU/Linux / HowTos tagged bash / gid / GNU/Linux / howtos / id / uid by Tux You can get a User’s User ID (UID), main Group ID (GID) and Supplementary Groups using the id command. id useraccount Share this:ShareEmailPrintFacebookRedditTwitter