Command logname manual
NAME
logname- prints the current login name
SYNOPSIS
logname [option]
DESCRIPTION
lognameprints the username of the person logged in and using the shell.
OPTIONS
--help: prints the help for this command in the terminal
ALSO SEE
whoami