HPlogo HP-UX Reference Volume 1 of 5 > l

logname(1)

» 

Technical documentation

Complete book in PDF

 » 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

© Hewlett-Packard Development Company, L.P.