tty(1) -- Linux man page
NAMEtty - print the file name of the terminal connected to standard input
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
AUTHORWritten by David MacKenzie.
REPORTING BUGSReport bugs to <email@example.com>.
COPYRIGHTCopyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSOThe 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 coreutils tty
should give you access to the complete manual.