logname(1) logname(1)
NAME [Toc] [Back]
logname - get login name
SYNOPSIS [Toc] [Back]
logname
DESCRIPTION [Toc] [Back]
logname writes the user's login name to standard output. The login
name is equivalent to that returned by getlogin() (see getlogin(3C)).
EXTERNAL INFLUENCES [Toc] [Back]
Environment Variables
LANG determines the language in which diagnostic messages are
displayed.
FILES [Toc] [Back]
/etc/profile
SEE ALSO [Toc] [Back]
env(1), login(1), getlogin(3C), logname(3C), environ(5).
STANDARDS CONFORMANCE [Toc] [Back]
logname: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |