πBash Scripting
Refernce page for bash scripting, summarized notes from PEN-200, These notes were written quite a whilte ago, so some inaccurasies might be expected.
name='sahar shukrun' greeting1='Hello $name' # cannot resolve the variable and prints the var name as is --Hello $name greeting="Hello $name" # variable can be used even when quotes are in place --Hello sahar shukrun
Variables
Scope of Variables
Command Substitution
Reading user Input
Arguments

If, Else, Elif Statements

Boolean operators & Command list
Loops
Functions
Last updated