Shell scripting is useful when it comes to automating redundant tasks. I have written an article that will help you get started with shell scripting in bash, you can refer to it here. Decision making is an important process in life. When writing bash scripts it is inevitable that you…