GETUID(1) GETUID(1) NAME getuid, id - get user identity SYNOPSIS getuid [ - ] [ arguments ] id DESCRIPTION Getuid prints on its standard output information about its invoker, based on the effective user id, as presented in the password file. With no arguments, getuid prints the login id of its invoker. Arguments select which information to print: user login id group group id passwd encrypted password uid numerical user id gid numerical group id acct comp center account number bin comp center output bin home home directory shell default shell If the optional - or more than one argument is present, the information is displayed in the form user=name as suitable for setting environment variables in the shell. Id prints the effective userid and groupid and the login name. The userid and groupid are printed numerically and, if possible, textually. FILES login for the current session.