[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5

users Command

Purpose

Displays a compact list of the users currently on the system.

Syntax

users [ File ]

Description

The users command lists the login names of the users currently on the system to standard output (stdout) in a compact, one-line list format. If an argument is given, it is used as an alternate file instead of /etc/utmp.

Files

/etc/utmp Contains list of current users.
/usr/bin/users Contains the users command.

Related Information

The who command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]