This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (September 2017) (Learn how and when to remove this template message)
In computer software, logname (stands for Login Name) is a program in Unix and Unix-like operating systems that prints the name of the user who is currently logged in on the terminal. It usually corresponds to the LOGNAME variable in the system-state environment (but this variable could have been modified). The logname system call and command appeared for the first time in UNIX System III.
$ logname --help Usage: logname [OPTION] Print the name of the current user. --help display this help and exit --version output version information and exit
- The Single UNIX Specification, Issue 7 from The Open Group : return the user's login name – Commands & Utilities Reference,
|This Unix-related article is a stub. You can help Wikipedia by expanding it.|