


ID(1L)                                                     ID(1L)


NNAAMMEE
       id - print real and effective UIDs and GIDs

SSYYNNOOPPSSIISS
       iidd   [-gnruG]   [--group]   [--name]   [--real]   [--user]
       [--groups] [--help] [--version] [username]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the  GNU  version  of  iidd.   iidd
       prints  information  about  the given user, or the process
       running it if no user is specified.  By default, it prints
       the real user ID, real group ID, effective user ID if dif-
       ferent from the real user ID, effective group ID  if  dif-
       ferent from the real group ID, and supplemental group IDs.
       It prints each of these values preceded by a string  iden-
       tifying it and followed by the corresponding user or group
       name in parentheses.

       The options cause iidd to  print  only  part  of  the  above
       information.

   OOPPTTIIOONNSS
       _-_g_, _-_-_g_r_o_u_p
              Print only the group ID.

       _-_G_, _-_-_g_r_o_u_p_s
              Print only the supplementary groups.

       _-_-_h_e_l_p Print  a  usage message on standard output and exit
              successfully.

       _-_n_, _-_-_n_a_m_e
              Print the user or group name instead of the ID num-
              ber.  Requires _-_u, _-_g, or _-_G.

       _-_r_, _-_-_r_e_a_l
              Print the real, instead of effective, user or group
              ID.  Requires _-_u, _-_g, or _-_G.

       _-_u_, _-_-_u_s_e_r
              Print only the user ID.

       _-_-_v_e_r_s_i_o_n
              Print version information on standard  output  then
              exit successfully.












FSF                    GNU Shell Utilities                      1


