Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (v - z) whoami(1)
NAME
whoami - Displays the user name for the effective user ID
SYNOPSIS
whoami
DESCRIPTION
The whoami command displays the user name associated with your effective user ID.
RELATED INFORMATION
Commands: who(1).
STANDARDS CONFORMANCE
The whoami command is an extension to the XPG4 Version 2 specication.
527188-007 Hewlett-Packard Company 1031