If I type the following command in Linux:
cat textfile
The contents of textfile is displayed. What is cat actually writing to? Is it writing to stdout or stdin?
|
|
It's writing to You can check this by trying the following:
You should find that all the output goes to |
|||
|
|