01 / 07
A command has ways out and a way in
This chapter is all about joining things up, and for that you want one picture in your head first.
Every command has two ways out and one way in.
- standard output — where the ordinary result comes out
- standard error — where only the errors come out
- standard input — where it takes text in
Usually both ways out are wired to the screen, so you cannot see any difference between them. What this chapter teaches is rewiring them to somewhere else.