man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

users(1B)

Name

users - display a compact list of users logged in

Synopsis

/usr/ucb/users [filename]

Description

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.

Examples

Example 1 Listing current users
example% users
paul george ringo

example%

Files

/var/adm/utmpx

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
compatibility/ucb

See also

who(1), attributes(5)

Notes

This command is obsolete and will be removed in a future release of Oracle Solaris. See users(1) for an alternate implementation of this command. Note that the order of the users printed out differs between users(1B) and users(1).