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 tty bugs to bug-coreutils@gnu.org
27 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
28 General help using GNU software: <http://www.gnu.org/gethelp/>
29 Report tty translation bugs to <http://translationproject.org/team/>
30
32 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
33 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
34 This is free software: you are free to change and redistribute it.
35 There is NO WARRANTY, to the extent permitted by law.
36
38 The full documentation for tty is maintained as a Texinfo manual. If
39 the info and tty programs are properly installed at your site, the com‐
40 mand
41
42 info coreutils 'tty invocation'
43
44 should give you access to the complete manual.
45
46
47
48GNU coreutils 8.4 June 2018 TTY(1)