logname(1) logname(1)NAME logname - gets the login name SYNOPSIS logname DESCRIPTION logname returns the contents of the environment variable $LOGNAME, which is set when a user logs into the system. EXAMPLES The command: logname displays the $LOGNAME of the user logged into the system on the current port. FILES /bin/logname Executable file /etc/profile File containing the user's login profile SEE ALSO env(1), login(1), printenv(1) logname(3X), environ(5) in A/UX Programmer's Reference January 1992 1