NAME [Toc] [Back]
whoami - print effective current user id
SYNOPSIS [Toc] [Back]
DESCRIPTION [Toc] [Back]
whoami prints your current user name, even if you have used su to
change it since your initial login (see su(1)). The command who am i
reports your initial login name because it uses /etc/utmp.
FILES [Toc] [Back]
/etc/passwd name data base
AUTHOR [Toc] [Back]
whoami was developed by the University of California, Berkeley.
SEE ALSO [Toc] [Back]
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ]