Print real and effective user and group IDs.

Synopsis

id [OPTION]...

Description

Print user and group information. Runs in the just-bash WASM shell inside SLICC.

Options

-u, --user Print only the effective user ID.

-g, --group Print only the effective group ID.

-n, --name Print a name instead of a number.

Examples

$ id

uid=1000(user) gid=1000(user) groups=1000(user)

Notes

Returns simulated values in the SLICC environment.

See Also

whoami, hostname