back

input output error: bash

Each program in linux is connected to three "files" (everything's a file in unix:-). These are called:

By default, standard input comes from the terminal window (usually from the keyboard, really). Standard output and standard error go to the terminal window

Any or all of these can be connected to real files instead. Here are some recipes to do just that.

Redirecting output