---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# logname

> Shows the user's login name.
> See also: `id`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/logname-invocation.html>.

- Display the currently logged in user's name:

`logname`
