...
- variable definition - assign a value to a variable name
- variable reference - use the variable name to represent the value it holds
...
The shell will evaluate the varname $varname variable and substitute its value before writing output text.
...
Expand | ||
---|---|---|
| ||
Use env to see your built-in environment variables. You may want to pipe output to grep -i, or less -iI then search for "group" ignoring case (/group). |
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Examining the env output we find that the variable MY_GROUP contains our Unix group.
|
...