LOGNAME(1)

✨ LOGNAME(1) ✨

User Commands 🌸 User Commands — yes bestie, it's the logname page from GNU coreutils and it's literally one job: tell you who you are. Well. Who you logged in as. 💅


🎀 NAME 🎀

logname — print user's login name 🫶


🦋 SYNOPSIS 🦋

logname [OPTION]

💖 DESCRIPTION 💖

Print the user's login name. That's it. That's the whole thing. Iconic, minimal, no notes. 👑

  • --help — display this help and exit ✨
  • --version — output version information and exit 💫

🌈 AUTHOR 🌈

Written by David MacKenzie. Respect the legend fr fr. 🫡


🍓 REPORTING BUGS 🍓

Found a bug? Not you being the main character, actual bugs only please 😭


Copyright © 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. 🫣 Like, legally zero warranty, so don't come for them if things go sideways.


🔥 SEE ALSO 🔥

  • getlogin(3) — the C library bestie that does a similar vibe 👯

Full documentation <https://www.gnu.org/software/coreutils/logname> or available locally via: info '(coreutils) logname invocation'


GNU coreutils 9.12 · September 2026 · that's the tea, bestie 💜✨ go check who you are, no cap 🦋

📦 where this page comes from