logname(1) CLIX logname(1)
NAME
logname - Gets a login name
SYNOPSIS
logname
DESCRIPTION
The logname command returns the contents of the environment variable
$LOGNAME, which is set when a user logs into the system.
FILES
/etc/profile
EXIT VALUES
Exit codes are 0 for normal termination and 1 if an error occurs.
RELATED INFORMATION
Commands: env(1), login(1)
Functions: logname(3)
Miscellany: environ(4)
2/94 - Intergraph Corporation 1