USERS(1) General Commands Manual USERS(1)
NAME
userslist current users
SYNOPSIS
users
DESCRIPTION
users lists the login names of the users currently on the system, in sorted order, space separated, on a single line.
FILES
/var/run/utmp
SEE ALSO
HISTORY
The users command appeared in 3.0BSD.