The Full Wiki

More info on Tty (Unix)

Tty (Unix): Wikis


Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.


(Redirected to tty (Unix) article)

From Wikipedia, the free encyclopedia

tty is a Unix command that prints to standard output the name of the file connected to standard input. The name of the program comes from teletypewriter, abbreviated "TTY".

When the program runs, it will output something like this:

$ tty

The pts indicates that it is a virtual terminal, with the number following it. If the program was run on a true tty, it would output something like this:

$ tty

External links

tty(1) – Linux User Commands Manual


Got something to say? Make a comment.
Your name
Your email address