Name
users — stdin stdout - file -- opt --help --version
Synopsis
users [filename
]
The users
command prints a
quick listing of users who have login sessions. If a user is running
multiple shells, she appears multiple times.
$ users barrett jones smith smith smith
Like the who
command,
users
reads /var/log/utmp by default but can read
from another supplied file instead.
Get Linux Pocket Guide, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.