2Another type of variable, shell variables, are local to the current shell. Whereas environment variables areinherited by subshells, shell variables are not; this is the only difference between them. By convention, shellvariables are written in lower or mixed case. These conventions provide a clue to the programmer as to whetherchanging a variable’s value might have consequences outside the current shell.