All commands
id
Topic: Permissions and ownership
Program: id
Shows user and group IDs.
Package: besitzer
Usage
id [OPTION]... [USER]...
Description
Show the user ID, the group ID and all groups of USER, or of the shell itself when USER is missing.
Options in the simulator
-
-a ignored, kept for other versions of id -
-g, --group show only the group ID -
-G, --groups show all group IDs -
-n, --name show names instead of numbers, with -u, -g or -G -
-r, --real use the real ID, not the one in effect (with -u, -g or -G) -
-u, --user show only the user ID -
--help show this help and exit
3 more options of the real program, not in the simulator yet
-
-Z, --context not in the simulator yet On a real system it shows the security context (SELinux); the simulator has none.
-
-z, --zero not in the simulator yet On a real system id separates the entries with zero bytes instead of spaces, for other programs.
-
--version not in the simulator yet On a real system it prints the version of the program.
Where you learn it
No lesson yet.
All commands