LOGNAME(1)

πŸ’– NAME πŸ’–

okay so bestie, pull up a chair 🫢 this one is logname β€” literally just prints your login name. that's it. that's the whole thing. she's small, she's mighty, she's section 1 of the General Commands Manual and she knows it πŸ‘‘


✨ SYNOPSIS ✨

logname

no flags needed, no arguments, no drama. she just vibes πŸ’…


🌸 DESCRIPTION 🌸

prints your login name. like, the name you logged in with. that's the entire job description and honestly? iconic. some commands do the absolute most and this one said "no, I know exactly who I am" and that's main character energy fr fr πŸ’œ


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” prints help. she will tell you about herself, as she should πŸ¦‹
  • -V, --version β€” prints the version. she'll show you her credentials ✨

πŸ“ VERSION πŸ“

v(uutils coreutils) 0.12.0

(the parentheses there? yeah they're in there for real, no cap. we did not make that up πŸ™ˆ)


🌈 EXAMPLES 🌈

so you wanna display the currently logged in user's name? say less, bestie:

logname

boom. that's it. slayed πŸ’…


πŸ’Œ little heads up: these examples are provided by the tldr-pages project at https://tldr.sh under the CC BY 4.0 License. and psst β€” since uutils is still a work in progress, some examples might fail 😭 not because you did anything wrong, just because she's still cooking 🧚

and that's the whole page, bestie!! she's tiny, she's perfect, she prints your login name, we're obsessed πŸ’–

kisses from the uutils coreutils squad, brought to you by version v(uutils coreutils) 0.12.0, dated 2026-09-25, part of LOGNAME(1) in the General Commands Manual βœ¨πŸ‘‘πŸŒΈ bye babes!!

πŸ“¦ where this page comes from