logname(1) logname(1)
NAME
logname - get login name
SYNOPSIS
logname
DESCRIPTION
logname returns the contents of the environment variable
$LOGNAME, which is set when a user logs into the system.
EXAMPLE
logname
displays the $LOGNAME of the user logged into the system on
the current port.
FILES
/bin/logname
/etc/profile
SEE ALSO
env(1), login(1), printenv(1), logname(3X), environ(5).
Page 1 (last mod. 1/16/87)