June 2004
Intermediate to advanced
1056 pages
39h 58m
English
tty
tty [option]Prints the device name for your terminal. This is useful for shell
scripts and commands that need device information.
tty exits 0 if the standard input is a terminal, 1
if the standard input is not a terminal, and >1 if an error
occurs.
-s
Suppress the terminal name.
Read now
Unlock full access