Combos
Introduction
Execute Commands from File
Example File
id : Print the current user's UID and GID.
id -u root : Find the UID of the user named "root".
id -g root : Find the GID of the user named "root".
id root : Find the UID and all groups associated with the user "root".
id -G root : Display the UID and all groups a user "root" belongs to.
id -ng root : Display the name instead of numbers for GID of "root".
id -nu root : Display the name instead of numbers for UID of "root".
id -nG root : Display the name instead of numbers for all groups of "root".
id -r -g root : Display the real GID instead of effective GID of "root".
id -r -u root : Display the real UID instead of effective UID of "root".
id -r -G root : Display the real group IDs instead of effective groups of "root".Command
Output
Last updated