|LOGNAME(1)||General Commands Manual||LOGNAME(1)|
lognameutility writes the user's login name to standard output followed by a newline (‘
lognameutility explicitly ignores the
USERenvironment variables because the environment cannot be trusted.
lognameutility exits 0 on success, and >0 if an error occurs. who(1), whoami(1), getlogin(2)
lognameutility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification.
lognamecommand appeared in 4.4BSD.
|September 3, 2010||OpenBSD-current|