Unix/Linux Go Back    

BSD 2.11 - man page for tty (bsd section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

TTY(1)											   TTY(1)

       tty - get terminal name

       tty [ -s ]

       Tty  prints the pathname of the user's terminal unless the -s (silent) is given. In either
       case, the exit value is zero if the standard input is a terminal and one if it is not.

       `not a tty' if the standard input file is not a terminal.

7th Edition				  April 29, 1985				   TTY(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 02:56 PM.