.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. .TH LOGNAME "1" "February 2026" "GNU coreutils 9.10" "User Commands" .SH NAME logname \- print user\'s login name .SH SYNOPSIS .B logname [\fI\,OPTION\/\fR] .SH DESCRIPTION .\" Add any additional description here .PP Print the user's login name. .TP \X'tty: link https://www.gnu.org/software/coreutils/logname#logname--help'\fB\-\-help\fP\X'tty: link' display this help and exit .TP \X'tty: link https://www.gnu.org/software/coreutils/logname#logname--version'\fB\-\-version\fP\X'tty: link' output version information and exit .SH AUTHOR Written by David MacKenzie. .SH "REPORTING BUGS" Report bugs to: bug\-coreutils@gnu.org .br GNU coreutils home page: .br General help using GNU software: .br Report any translation bugs to .SH "SEE ALSO" \fBgetlogin\fP(3) .PP .br Full documentation .br or available locally via: info \(aq(coreutils) logname invocation\(aq .PP .br Packaged by Debian (9.10\-1) .br Copyright \(co 2026 Free Software Foundation, Inc. .br License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. .br There is NO WARRANTY, to the extent permitted by law.