home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
gnu
/
sh-utils-1.10-bin.lha
/
man
/
cat1
/
tty.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
TTY(1L) TTY(1L)
NNAAMMEE
tty - print the path of the terminal connected to standard
input
SSYYNNOOPPSSIISS
ttttyy [-s] [--silent] [--quiet]
DDEESSCCRRIIPPTTIIOONN
This manual page documents the GNU version of ttttyy. ttttyy
prints the path name of the tty connected to its standard
input. It prints `not a tty' if the standard input is not
a tty. Its exit status is:
0 if the standard input is a tty
1 if the standard input is not a tty
2 if given incorrect arguments
OOPPTTIIOONNSS
_-_s_, _-_-_s_i_l_e_n_t_, _-_-_q_u_i_e_t
Print nothing; only return an exit status.
The long-named options can be introduced with `+' as well
as `--', for compatibility with previous releases. Even-
tually support for `+' will be removed, because it is
incompatible with the POSIX.2 standard.
1