logname(1) logname(1) Name logname - get login name Syntax logname Description The command returns the a user's login name on the system. Files /etc/profile See Also login(1), environ(5) logname(1)