| ID(1) | General Commands Manual | ID(1) |
id — return user
identity
id |
[-Ggu] [-nr]
[user] |
By default id prints the current
‘uid’,
‘gid’ and
‘groups’ of the current session. If
user is specifies then it reads from the
passwd(5) and group(5)
entries.
The id utility exits 0 on success,
and >0 if an error occurs.
id should be compliant with the IEEE Std
1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
| July 25, 2024 | Linux |