whoami — print effective userid

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

October 2019 GNU coreutils 8.31