LOGNAME(1)

NAME
logname - print login name

SYNOPSIS
logname

DESCRIPTION
logname prints the login name of the session.

EXIT STATUS
logname will exit with 0 on success and non-zero otherwise.

SEE ALSO
id(1), getlogin(3)