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.
In this part of the Bash 101 series, we expand on the very basic basics we touched upon in the first article and introduce the concepts of functions and variables. We’ll build on our previous hello world script and then create a new script to illustrate the concepts further.
This is the first of a series of articles that are designed to ease people into using bash and writing bash scripts. This article will give you a quick overview of some of the commands you will need to use to execute every bash script, and are commands that you should keep close to your heart for the future