Names#
Most environment names are in UPPER_CASE
. This is sort of a convention used by most administrators, allowing the name to pop out of a string. For example, echo "Hello, $NAME"
is a bit clearer than echo "Hello, $name"
for those familiar with environment variables.
Technically, however, the name can be lower_case
too. Check it out:
1 2 3 4 5 6 |
|
So, you're going to find most environment variables are UPPER_CASE
, and I'd recommended sticking to that convention.