• shell is a loosely typed language: create variables on the fly
  • assign with MYVAR='cheese'
  • reference with $MYVAR
  • do math with let SUM=4+2
  • print out a variable with echo $MYVAR
  • All variables are assumed to be string variables
  • env shows all current, existing variables
  • NEXT
    PREVIOUS
    Master Index