TTY(1)
๐ tty(1) โ User Commands ๐
okay bestie, sit down, hydrate, and let me tell you about tty, a tiny little legend from the User Commands section. she's small. she's simple. she eats. โจ
๐ธ NAME ๐ธ
tty โ print the file name of the terminal connected to standard input. yes that's it. that's the whole job. iconic behaviour honestly. ๐
๐ฆ SYNOPSIS ๐ฆ
tty [OPTION]...
like... that's it. that's the whole vibe. [OPTION]... and she's ready to go. ๐ซถ
โจ DESCRIPTION โจ
So here's the tea: tty prints the file name of the terminal connected to standard input. That's the entire plot of the movie. main character energy with a one-line script. ๐ญ
-s,--silent,--quietโ print nothing, and only return an exit status. she's silent, she's mysterious, she's not telling you a thing โ just vibes and an exit code. ๐คซ--helpโ display this help and exit. your girl is being helpful. ๐--versionโ output version information and exit. she's telling you who she is. ๐
๐ AUTHOR ๐
Written by David MacKenzie. ty king, we appreciate you fr fr ๐๐
๐ REPORTING BUGS ๐
found a bug? not me being the one to tell you but ok, here's where to go:
- Report bugs to: <bug-coreutils@gnu.org>.
- Report any translation bugs to: <https://translationproject.org/team/>.
- GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
ngl if you're about to file a bug, read the docs first, bestie. it's giving "let me check before I post". ๐ซถ
๐ COPYRIGHT ๐
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 literally none. zero. zip. she is free and she is unbothered. ๐
๐ SEE ALSO ๐
- Full documentation <https://www.gnu.org/software/coreutils/tty>
- or available locally via:
info '(coreutils) tty invocation'
and that's the whole page bestie!! this was GNU coreutils 9.12, from September 2026, and honestly? she ate. now go run her and see what your terminal's name is ๐ โจ๐ฆ๐
tty(1) ๐
๐ฆ where this page comes from
- arch rolling: coreutils 9.12-2 ยท GPL-3.0-or-later AND GFDL-1.3-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms