id Command Examples

Display current user and group identity. More information: https://www.gnu.org/software/coreutils/id.

id

id -un

id -u

id -gn

id -g

id {{username}}