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.

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.

--silent, --quiet

is equivalent to -s.

--delete

is equivalent to -d.

--squeeze-repeats

is equivalent to -s.

--version

outputs version information and exits.