shell script

How to avoid 10 common mistakes in shell scripting

In this post, we will see 10 common syntactical mistakes that we do while writing a shell script. The prerequisite for this post is an EC2 instance for Linux OS on AWS, putty, or GitBash tool and knowledge of shell scripting. Below scenarios are common in shell scripting.