new copyright; att/bsd/shared
[unix-history] / usr / src / old / whoami / whoami.1
.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" @(#)whoami.1 6.3 (Berkeley) %G%
.\"
.TH WHOAMI 1 ""
.UC
.SH NAME
whoami \- print effective current user id
.SH SYNOPSIS
.B whoami
.SH DESCRIPTION
.I Whoami
prints who you are.
It works even if you are su'd, while `who am i' does not since
it uses /etc/utmp.
.SH FILES
.DT
/etc/passwd Name data base
.SH "SEE ALSO"
who (1)