WHOAMI(1) BSD WHOAMI(1)
NAME
whoami - print effective current user id
SYNOPSIS
whoami
DESCRIPTION
whoami prints who you are. It works even if you are su'd, while who am i
does not since it uses /etc/utmp.
FILES
/etc/passwd Name database
SEE ALSO
who(1)