USERS(1) General Commands Manual USERS(1)

userslist current users

users

users lists the login names of the users currently on the system, in sorted order, space separated, on a single line.

/var/run/utmp
 

finger(1), last(1), who(1), utmp(5)

The users command appeared in 3.0BSD.

May 31, 2007 OpenBSD 7.5