.\" 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 5.1 (Berkeley) %G%
.TH WHOAMI 1 "24 February 1979"
whoami \- print effective current user id
It works even if you are su'd, while `who am i' does not since
/etc/passwd Name data base