Command logname manual

NAME

logname - prints the current login name

SYNOPSIS

logname [option]

DESCRIPTION

logname prints 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