whoami - Man Page

print effective user name

Examples (TL;DR)

Synopsis

whoami [OPTION]...

Description

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 exit

Author

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).

November 2024 GNU coreutils 9.5