id
QNX SDP8.0Utilities ReferenceUtilities
Return user and group IDs (POSIX, toybox)
Syntax:
id [-GgnruZ] [user...]
Runs on:
QNX OS
Options:
- -G
- Show all group IDs.
- -g
- Show only the effective group ID.
- -n
- Print names instead of numeric IDs (to be used with -Ggu).
- -r
- Show real ID instead of effective ID.
- -u
- Show only the effective user ID.
- -Z
- Show only security policy type.
- user
- The user's login name.
Description:
The id utility writes the current real and/or effective user ID and group ID to standard output.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: