groups: Print group names a user is in, Previous:
logname: Print current login name, Up: User information [Contents][Index]
whoami: Print effective user name
whoami prints the user name associated with the current
effective user ID. It is equivalent to the command ‘id -un’.
The only options are --help and --version. See Common options.
An exit status of zero indicates success, and a nonzero value indicates failure.