1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: tty
Command Library


tty - print the file name of the terminal connected to standard input  


tty [OPTION]...  


Print the file name of the terminal connected to standard input.

-s, --silent, --quiet
print nothing, only return an exit status
display this help and exit
output version information and exit


The full documentation for tty is maintained as a Texinfo manual. If the info and tty programs are properly installed at your site, the command
info tty

should give you access to the complete manual.

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2015 About.com. All rights reserved.