Table of Contents
IO - Standard Input (stdin)
About
Standard Input
is a
standard stream
that reads:
from the keyboard
or from a
redirection
such as the pipe.
How to print the file name of the terminal connected to standard input.
On Linux, you use the
tty
command.
tty