1TTY(1) User Commands TTY(1)
2
3
4
6 tty - print the file name of the terminal connected to standard input
7
9 tty [OPTION]...
10
12 Print the file name of the terminal connected to standard input.
13
14 -s, --silent, --quiet
15 print nothing, only return an exit status
16
17 --help display this help and exit
18
19 --version
20 output version information and exit
21
23 Written by David MacKenzie.
24
26 Report bugs to <bug-coreutils@gnu.org>.
27
29 Copyright © 2007 Free Software Foundation, Inc.
30 This is free software. You may redistribute copies of it under the
31 terms of the GNU General Public License
32 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
33 extent permitted by law.
34
36 The full documentation for tty is maintained as a Texinfo manual. If
37 the info and tty programs are properly installed at your site, the com‐
38 mand
39
40 info tty
41
42 should give you access to the complete manual.
43
44
45
46GNU coreutils 6.9 March 2008 TTY(1)