USERS(1B) BSD Compatibility Package Commands USERS(1B)

users - display a compact list of users logged in

/usr/ucb/users [filename]

The users utility lists the login names of the users currently on the system in a compact, one-line format.

Specifying filename tells users where to find its information; by default it checks /var/adm/utmpx.

Typing users is equivalent to typing who -q.

Example 1 Listing current users


example% users
paul george ringoexample%

/var/adm/utmpx

who(1), attributes(7)

November 16, 1998 OmniOS