logname(1) — Commands
OSF
NAME
logname − Displays user login name
SYNOPSIS
logname
DESCRIPTION
The logname command writes to standard output the name you used to log into the system. This name is set for the LOGNAME environment variable when you log onto the system.
RELATED INFORMATION
Commands: env(1)/printenv(1), login(1).
Functions: getlogin(2).