Home Shell Scripting BASH Scripting - Basics

BASH Scripting - Basics

BASH Scripting – More Advanced IF Statements Usage

This is the construct to use to take one course of action if the if commands test true, and another if it tests false. An example: $ os="linux" $ if ] > then echo...

BASH Scripting – Variables

Variables by content Apart from dividing variables in local and global variables, we can also divide them in categories according to the sort of content the variable contains. In this respect, variables...

BASH Scripting – Debugging BASH Scripts

When things don't go according to plan, you need to determine what exactly causes the script to fail. Bash provides extensive debugging features. The most common is to start up the...
- Advertisement -