Displays a compact list of the users currently logged on to the system.
users [ FileName | WparName ]
The users command lists the login names of the users that are currently logged on to the system to standard output (stdout) in a compact, one-line list format. If you specify absolute path name of a file, then it is used as an alternate file instead of /etc/utmp. If you do not specify an absolute path name, it is considered to be the name of a workload partition. If the name is "Global", it indicates the global environment.
Item | Description |
---|---|
/etc/utmp | Contains list of current users. |
/usr/bin/users | Contains the users command. |