users − users
users [FILE]
Print the user names of users currently logged in to the current host.Warning: When built with musl libc, the ‘users‘ utility may show ’0 users’, due to musl’s stub implementation of utmpx functions.
[file]
−h, −−help
Print help
−V, −−version
Print version
Output who is currently logged in according to FILE. If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common.