Standard Streams

Std Model

 

A computer system very simply acts upon input provided by either a human, another computer or built in procedures, which it then acts upon (computes) and provides the desired result as output.

 

stdin

Standard Input is usually received from the keyboard

 

stdout / stderr

Standard Out and Standard Error are usually sent to the screen

 

Term Location Abbreviation Signal
Standard In Keyboard stdin 0
Standard Out Screen stdout 1
Standard Error Screen stderr 2

 

Leave a Reply