This tutorial explains Linux “users” command, options and its usage with examples.
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.
users [OPTION]… [ FILE ]
display this help and exit
List logged in users
$ users abc
Note : As only one user is logged on, hence only one username is displayed, else a space seperated list of users is displayed.
Sanfoundry Global Education & Learning Series – 1000 Linux Tutorials.