


TTY(1L)                                                   TTY(1L)


NNAAMMEE
       tty - print the path of the terminal connected to standard
       input

SSYYNNOOPPSSIISS
       ttttyy [-s] [--silent] [--quiet] [--help] [--version]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the GNU version  of  ttttyy.   ttttyy
       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
       3 if a write error occurs

   OOPPTTIIOONNSS
       _-_-_h_e_l_p Print  a  usage message on standard output and exit
              successfully.

       _-_s_, _-_-_s_i_l_e_n_t_, _-_-_q_u_i_e_t
              Print nothing; only return an exit status.

       _-_-_v_e_r_s_i_o_n
              Print version information on standard  output  then
              exit successfully.






























FSF                    GNU Shell Utilities                      1


