home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: tsort Chapter 2
UNIX Commands
Next: Reference: umask
 

tty



tty

 [

options

]

Print the device name of your terminal. This is useful for shell scripts and often for commands that need device information.

Options

-l

Print the synchronous line number.

-s

Return only the codes: 0 (a terminal), 1 (not a terminal), 2 (invalid options used).


Previous: Reference: tsort UNIX in a Nutshell: System V Edition Next: Reference: umask
Reference: tsort Book Index Reference: umask

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru