tty (unix)

In computing, tty is a command in Unix and Unix-like operating systems to print the file name of the terminal connected to standard input.

Given below is a sample output when the command is run

$ tty
/dev/pts/10

See also

Teleprinter

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.