TTY(1) General Commands Manual TTY(1)

tty - Print the file name of the terminal connected to standard input.

tty [OPTION]...

Print the file name of the terminal connected to standard input.

print nothing, only return an exit status
Print help
Print version

v(uutils coreutils) 0.11.0

2026-09-01