Ubuntu Manpages

tty

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

tty [-s|--silent] [-h|--help] [-V|--version]

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.8.0