shells

References

Summary

When you initially type in text, the input is buffered

Input / Output

Here-document

Pipes

One way of sending the output of one command to the input of another is

cmd_1 > temp_file
cmd_2 < temp_file  

Instead of having to create a temp file, pipes let us connect programs directly

cmd_1 | cmd_2

Pipes always connect stdout to stdin