From Wikipedia, the free encyclopedia
Standard UNIX utility
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. The author of the version of logname
bundled in GNU coreutils is unknown.[1] The command is available as a separate package for Microsoft Windows as part of the UnxUtils collection of native Win32 ports of common GNU Unix-like utilities.[2]
$ logname --help Usage: logname [OPTION] Print the name of the current user. --help display this help and exit --version output version information and exit
logname
: return the user's login name – Shell and Utilities Reference, The Single UNIX Specification, Version 5 from The Open GroupRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4