| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) | 
Return user's login name (POSIX)
logname
None.
The logname utility writes the user's login name to standard output. If the user doesn't have an entry in the password file, a diagnostic message is written to standard error and logname exits with an exit status greater than zero.
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) |