Manual pages › General commands (1)
logname-original(1)
get login name
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
With the coreutil package (with the extra set), see logname(1) instead.
NAME
logname - get login name
SYNOPSIS
logname
DESCRIPTION
logname returns the name of the user running the process.
FILES
/etc/profile
SEE ALSO
env(1), login(1).
cuserid(3C) in the Programmer's Reference Manual.
environ(5) in the System Administrator's Reference Manual.