Logname
| logname | |
|---|---|
| example of  lognamecommand | |
| Initial release | 1982 | 
| Operating system | Unix and Unix-like | 
| Platform | Cross-platform | 
| Type | Command | 
| License | GNU GPL v3 | 
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).