## Name

tty - print the terminal device name

## Synopsis

```sh
$ tty
```

## Description

`tty` prints the file name of the terminal device connected to standard input.

## Examples

```sh
$ tty
/dev/pts/0
```

## See also

-   [`stty`(1)](help://man/1/stty)
