66 lines
496 B
Plaintext
66 lines
496 B
Plaintext
|
|
|
|
|
|
|
|
|
|
Command: tty - print the device name of this tty
|
|
Syntax: tty [-s]
|
|
Flags: -s Silent mode, only the exit status is affected.
|
|
Example: tty # Print the tty name
|
|
|
|
Print the name of the controlling tty. If the flag -s is given, tty
|
|
is equivalent to the call test -t 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|