Your company here, and a link to your site. Click to find out more.

whoami - Man Page

print effective user name

Examples (TL;DR)


whoami [OPTION]...


Print the user name associated with the current effective user ID. Same as id -un.


display this help and exit


output version information and exit


Written by Richard Mlynarik.

Reporting Bugs

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>

See Also

Full documentation <https://www.gnu.org/software/coreutils/whoami>
or available locally via: info '(coreutils) whoami invocation'

Referenced By

seccomp(2), whereami(1).

April 2024 GNU coreutils 9.5