Print the current user id and name.
Syntax
whoami [options]
Options
--help Display Help
--version Display program version info
whoami produces the same result as the id -un command (the id command by default provides more detailed information)
"He travels the fastest who travels alone" ~ Rudyard Kipling
Related:
id - Print user and group id's
who -Print all usernames currently logged in
Equivalent Windows command: %username%