.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
.TH TTY "1" "July 2026" "GNU coreutils 9.11" "User Commands"
.SH NAME
tty \- print the file name of the terminal connected to standard input
.SH SYNOPSIS
.B tty
[\fI\,OPTION\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print the file name of the terminal connected to standard input.
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tty-s'\fB\-s, \-\-silent, \-\-quiet\fP\X'tty: link'
print nothing, only return an exit status
.TP
\X'tty: link https://www.gnu.org/software/coreutils/tty#tty--help'\fB\-\-help\fP\X'tty: link'
display this help and exit
.TP
\X'tty: link https://www.gnu.org/software/coreutils/tty#tty--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 COPYRIGHT
Copyright \(co 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
Full documentation
.br
or available locally via: info \(aq(coreutils) tty invocation\(aq