Each process in an operating system can interact with the data available on different devices connected to the operating system. Sample devices include files or network connections. Interaction with devices is done viastreams. A stream is a logical representation of a data transfer state.
In this recipe, we will show how to interact with the built-in system streams, as well as file streams, in Julia.
The way a program exchanges data with its environment is often called I/O, which stands for input/output. I/O operations are built into the Julia language. Hence, none of the typical installations is required to run these recipes; simply open the Julia command-line console.