.Dd October 8, 2015 .Dt LOGNAME 1 .Os sbase .Sh NAME .Nm logname .Nd show login name .Sh SYNOPSIS .Nm .Sh DESCRIPTION .Nm writes the login name of the current user to stdout. .Sh STANDARDS POSIX.1-2013.