Definitions for "Whoami"
Tells you the user you are currently using
whoami display the effective current username
Unix-command found on most versions of Unix-based operating systems. It is a concatenation of the words "Who am I?" and prints the effective userid (username) of the current user when invoked. This is slightly different from $USER because whoami outputs the username that you are working under, whereas $USER outputs the username that you used to login.