[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

20.5 users: Print login names of users currently logged in

users prints on a single line a blank-separated list of user names of users currently logged in to the current host. Each user name corresponds to a login session, so if a user has more than one login session, that user's name will appear the same number of times in the output. Synopsis:

 
users [file]

With no file argument, users extracts its information from the file `/etc/utmp'. If a file argument is given, users uses that file instead. A common choice is `/etc/wtmp'.

The only options are `--help' and `--version'. See section 2. Common options.



This document was generated by Jeff Bailey on December, 28 2002 using texi2html