From Wikipedia, the free encyclopedia
In computer software, logname (stands for Logon Name) is a program in Unix and Unix-like operating systems that prints the name of the user executing the command. It corresponds to the LOGNAME variable in the system-state environment. The logname system call and command appeared for the first time in UNIX System III.
Usage: logname [OPTION]
Print the name of the current user.
--help display this help and exit
--version output version information and exit
[edit] See also
[edit] References
Unix command line programs and builtins (more) |
|
File system |
|
|
Processes |
|
|
User environment |
|
|
Text processing |
|
|
Shell programming |
|
|
Networking |
|
|
Searching |
|
|
Miscellaneous |
|
|