logname
Sign in to saveIn 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).
Key facts
- Software.name
- logname
- Software.screenshot
- Logname example.png
- Software.caption
- example of logname command
- Software.operating system
- Unix and Unix-like
- Software.platform
- Cross-platform
- Software.genre
- Command
- Software.license
- GNU GPL v3
via Wikipedia infobox
Described at
logname
pubs.opengroup.org →Provide a default value for the internationalization variables that are unset or null. (See XBD Internationalization Variables for the precedence of internationalization variables used to determine the values of locale categories.) If set to a non-empty string value, override the values of all the other internationalization variables. Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error. [XSI) ] ![[Option Start]]( Determine the location of message catalogs for the processing of LC MESSAGES. ![[Option End]]( The logname utility explicitly ignores the LOGNAME environment variable because environment changes could produce erroneous results.
Excerpt from a page describing this subject · 4,910 chars · not written by Vinony
Wikidata facts
- Part of
- GNU Core Utilities
- Image
- Logname example.png
Show 1 more fact
- described at URL
- pubs.opengroup.org/onlinepubs/9699919799/utilities/logname.html
via Wikidata · CC0
~1 min read
Encyclopedic overview
5 sectionsContents
- History
- Usage
- See also
- References
- External links
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).
==History== 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. 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.
Excerpted from Wikipedia’s “logname” article, available under the CC BY-SA 4.0 licence.