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 data base
SEE ALSO who (1)