NAME LOGINFO(I)
logname, logdir, logtty - information from login
SYNOPSIS
logname
logdir
logtty
DESCRIPTION
Logname prints the user's login name.
Logdir prints the login directory pathname.
Logtty prints the single character tty letter (and never
prints `x').
These data are created by login(I).