whoami(1)
NAME
whoami − print effective current user id
SYNTAX
whoami
DESCRIPTION
The whoami command 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/passwdName data base
whoami − print effective current user id
whoami
The whoami command prints who you are. It works even if you are su’d, while ‘who am i’ does not since it uses /etc/utmp.
/etc/passwdName data base