Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
WHO(1)			FreeBSD	General	Commands Manual			WHO(1)

NAME
     who -- display who	is logged in

SYNOPSIS
     who am I
     who [file]

DESCRIPTION
     The who utility displays a	list of	all users currently logged on, showing
     for each user the login name, tty name, the date and time of login, and
     hostname if not local.

     Available options:

     am	I  Returns the invoker's real user name.

     file  By default, who gathers information from the	file /var/run/utmp.
	   An alternate	file may be specified which is usually /var/log/wtmp
	   (or /var/log/wtmp.[0-6] depending on	site policy as wtmp can	grow
	   quite large and daily versions may or may not be kept around	after
	   compression by ac(8)).  The wtmp file contains a record of every
	   login, logout, crash, shutdown and date change since	wtmp was last
	   truncated or	created.

     If	/var/log/wtmp is being used as the file, the user name may be empty or
     one of the	special	characters '|',	'}' and	'~'.  Logouts produce an out-
     put line without any user name.  For more information on the special
     characters, see utmp(5).

FILES
     /var/run/utmp
     /var/log/wtmp
     /var/log/wtmp.[0-6]

SEE ALSO
     last(1), users(1),	getuid(2), utmp(5)

HISTORY
     A who command appeared in Version 1 AT&T UNIX.

FreeBSD	9.3		       December	30, 1993		   FreeBSD 9.3

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<http://www.freebsd.org/cgi/man.cgi?query=who&sektion=1&manpath=FreeBSD+4.5-RELEASE>

home | help