Linux "whoami" Command Line Options and Examples
print effective userid

Print the user name associated with the current effective user ID. Same as id -un. --help display this help and exit --version output version information and exitAUTHOR Written by Richard Mlynarik.


Usage:

whoami [OPTION]...




Command Line Options:

--help
display this help and exit
whoami --help ...
--version
output version information and exitAUTHORWritten by Richard Mlynarik.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report whoami translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent per‐mitted by law.
whoami --version ...