WHOAMI(1)
NAME
whoami − print effective current user ID
USAGE
whoami
DESCRIPTION
Whoami prints who you are. It works even if you have executed an su (1) command to temporarily substitute a user ID. On the other hand, the who (1) command with the am i option does not do this.
FILES
/etc/passwdname database