Name

users — stdin  stdout  - file  -- opt  --help  --version

Synopsis

users

The users command prints a quick listing of users who have login sessions:

users
barrett jones smith

Like the who command, users reads the file /var/run/utmpx.

Get Macintosh Terminal Pocket Guide 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.