Skip to content

logname


NAME
     logname - print your login name

SYNOPSIS
     logname

DESCRIPTION
     Print the name you logged in under. A script uses this to find out
     who is running it, which is not always who owns it.

SEE ALSO
     who(1), su(1), passwd(1)