Linux Users Groups
Last Updated: 16 Aug, 24
Users and Groups
The file /etc/passwd in linux systems maintains the UID and GID and the file /etc/group contains the GID. To view the UID and GID without viewing /etc/passwd and /etc/group we can use the command
id
This prints both UID and GID.