tty(1) - SerenityOS man pages

#Name

tty - print the terminal device name

#Synopsis

$ tty

#Description

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

#Examples

$ tty
/dev/pts/0

#See also