LOGNAME(1) — USER COMMANDS
NAME
logname − get the name by which you logged in
SYNOPSIS
logname
DESCRIPTION
logname returns the contents of the environment variable LOGNAME, which is set when a user logs into the system.
FILES
/etc/profile
SEE ALSO
Sun Release 4.0 — Last change: 9 September 1987