HPlogo HP-UX Reference > L

logname(1)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

logname — get login name

SYNOPSIS

logname

DESCRIPTION

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

Environment Variables

LANG determines the language in which diagnostic messages are displayed.

FILES

/etc/profile

STANDARDS CONFORMANCE

logname: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2