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:

ngl if you're about to file a bug, read the docs first, bestie. it's giving "let me check before I post". ๐Ÿซถ

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 ๐ŸŒˆ


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