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 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 Print the name of the current user.
- The Single UNIX® Specification, Issue 7 from The Open Group : return the user's login name – Commands & Utilities Reference,
Lua error in package.lua at line 80: module 'Module:Buffer' not found.