|LOGNAME(1)||General Commands Manual||LOGNAME(1)|
logname — display
user's login name
logname utility writes the user's
login name to standard output followed by a newline
logname utility explicitly ignores the
variables because the environment cannot be trusted.
logname utility exits 0 on
success, and >0 if an error occurs.
logname utility is compliant with the
IEEE Std 1003.1-2008 (“POSIX.1”)
logname command appeared in
|September 3, 2010||OpenBSD-6.8|