Phu  | 2 minutes | Tags:  bash  linux

Math

Commands

Variables

User input

Logic and If-else

Arrays

Braces

Loops

for i in 1 2 3
do
  ...
done
while [[ ]]
do
  ...
done

Functions

#f () {
function f {
  local result=0
  ...
  echo $result
}