Display the device name of the terminal.
tty
None
The
tty command displays the name of the terminal connected to the standard input. This is useful in shell scripts that may need the terminal name.