Jump to content

Logname: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Changed "Logon" to "Login" to be more consistent with the man page and normal unix terminology
Line 1: Line 1:
{{lowercase|title=logname}}
{{lowercase|title=logname}}
In [[computer software]], '''logname''' (stands for '''Logon Name''') is a program in [[Unix]] and [[Unix-like]] [[operating system]]s that prints the name of the user executing the [[command (computing)|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]].
In [[computer software]], '''logname''' (stands for '''Login Name''') is a program in [[Unix]] and [[Unix-like]] [[operating system]]s that prints the name of the user executing the [[command (computing)|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]].


<pre>Usage: logname
<pre>Usage: logname

Revision as of 08:47, 28 July 2010

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.

See also

References