Bash 101: Input and Output Redirection
This article is an overview of the basics behind input and output redirection in bash. This is a very cool piece of Bash that allows you to get data from a file, put data into a file, or even string several commands together. The two Bash Basics that allow us to accomplish this are called Standard Input and Standard Output. Most Bash commands support both of these.