tty (Unix)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

tty is a Unix command that prints to standard output the name of the terminal 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
/dev/pts/4

[edit] See also

[edit] External links

tty(1) – Linux User Commands Manual
The TTY demystified tty history

Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages