TTY(1)

✨ NAME ✨

tty β€” bestie, this one prints the file name of the terminal that's connected to standard input. That's it. That's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

tty [OPTION]...

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you're sitting in a terminal, right, and you just wanna know which terminal you're actually in. Like the vibes are immaculate but what's the name?? 🫢

tty prints the file name of the terminal connected to standard input. One line in, one answer out. Iconic behaviour, no notes. ✨


πŸ’– OPTIONS πŸ’–

  • -s, --silent β€” print nothing at all, queen of minding her own business πŸ‘‘ β€” it only returns an exit status. That's it, that's the whole output.
  • -h, --help β€” prints the help. Ask and you shall receive, periodt.
  • -V, --version β€” prints the version. Gotta know which era of uutils you're living in πŸ’œ

πŸŽ€ VERSION πŸŽ€

v(uutils coreutils) 0.12.0

🌈 EXAMPLES 🌈

Print the file name of this terminal:

tty
fr fr, these examples are provided by the tldr-pages project at https://tldr.sh under the CC BY 4.0 License. And just so you know β€” uutils is a work in progress, so some examples might not work. Not a scandal, just a heads-up πŸ“

and that's the whole page, bestie!! πŸ’– This was the TTY(1) page from the General Commands Manual, all about v(uutils coreutils) 0.12.0, dated 2026-09-25 β€” love that for us 🧚✨

πŸ“¦ where this page comes from