In computer programming, standard streams are preconnected input and output communication channels between a computer program and its environment when it begins execution. The three I/O connections are called standard input (stdin), standard output (stdout) and standard error (stderr). Originally I/O happened via a physically connected system console (input via keyboard, output via monitor), but standard streams abstract this. When a command is executed via an interactive shell, the streams are typically connected to the text terminal on which the shell is running, but can be changed with redirection, e.g. via a pipeline. More generally, a child process will inherit the standard streams of its parent process.
Users generally know these streams as mediums by which text incoming from an input device and text outgoing to display are handled. As they are used for input and output devices, they generally contain text, a sequence of characters in a predetermined encoding, such as Latin-1 or UTF-8.
Early in the evenin just about supper time,
Over by the courthouse theyre starting to unwind.
Four kids on the corner trying to bring you up.
Willy picks a tune out and he blows it on the harp.
Chorus:
Down on the corner, out in the street,
Willy and the poorboys are playin;
Bring a nickel; tap your feet.
Rooster hits the washboard and people just got to smile,
Blinky, thumps the gut bass and solos for a while.
Poorboy twangs the rhythm out on his kalamazoo.
Willy goes into a dance and doubles on kazoo.
Chorus
Chorus
You dont need a penny just to hang around,
But if youve got a nickel, wont you lay your money down?
Over on the corner theres a happy noise.
People come from all around to watch the magic boy.
Chorus
Chorus