Gnu/coreutils/User-information
From Get docs
Next: System context, Previous: Working context, Up: Top [Contents][Index]
20 User information
This section describes commands that print user-related information: logins, groups, and so forth.
• id invocation | Print user identity. | |
• logname invocation | Print current login name. | |
• whoami invocation | Print effective user ID. | |
• groups invocation | Print group names a user is in. | |
• users invocation | Print login names of users currently logged in. | |
• who invocation | Print who is currently logged in. |