logname(1)
NAME
logname − get login name
SYNTAX
logname
DESCRIPTION
The logname returns the contents of the environment variable $LOGNAME, which is set when a user logs into the system.
FILES
/etc/profile
logname − get login name
logname
The logname returns the contents of the environment variable $LOGNAME, which is set when a user logs into the system.
/etc/profile