LOGNAME(1) LOGNAME(1)
logname - get login name
logname
logname prints the name of the user who invoked the command. It gets
this name via cuserid(3S).
su(1), login(1), cuserid(3S), environ(5)
logname exits with a value of 1 if cuserid returns NULL, otherwise it
exits with a 0.
PPPPaaaaggggeeee 1111 [ Back ]
|