First page Back Continue Last page Overview

 

Configuring the Shell: Local Variables

 
  • Data in shell scripts and environment settings stored in variables

  • Conventionally all upper-case

  • Setting variable value

    • $ FAV_COLOR=blue
  • To retrieve variable value, use $ before variable name

    • $ echo $FAV_COLOR
    • blue