¥Shell Variables
_shell variables are variables that
are stored in, and affect the shell
_all variables are stored as
strings (or as arrays of strings)
_a variable is accessed via the '$' character
_the 'echo' command: echo the line after processing any
special characters
"command: echo my home dir,
$HOME, holds ~/*
_the 'set' command: set or assign values to one or more
variables
"without arguments: 'set' displays all variables, along with any values
"'set'
takes a list of variables to set, possibly with values
"consider the commands:
Øset food
Øecho $food
Øset food = pickle
Øecho $food
Øecho $pickle
Øset eat food = chocolate donut
Øset
Øset food = "eat chocolate donut"
Øecho $food