tty

Name

tty -- print the file name of the terminal connected to standard input

Description

tty is as specified in the SUS but with differences as listed below.

Differences

--silent, --quiet

is equivalent to -s.

--delete

is equivalent to -d.

--squeeze-repeats

is equivalent to -s.

--version

outputs version information and exits.