Question: what are uid and gid in unix?
Answer: UID (User Identifier and GID (Group Identifier) in Linux. Unix-like operating systems identify a user by a value called a user identifier (UID) and Identify group by a group identifier (GID), are used to determine which system resources a user or group can access.