FAQ's
You can see all the environment variables using the " env " or “printenv” commands.
The environment variables get stored in the /etc/environment directory.
The path variable is an environment variable with lists of ordered paths, and Linux will use them to search when running different commands.
There are two types of variables: shell and environment variables.
We declare variables in Linux by giving them a name and a value using the = sign. When printing the variable, there is a dollar sign($) at the beginning of every variable. The variable's value can be a string, characters, numbers, or other special characters. You have to ensure there is no space between the variable name, its value, and the assignment operator. For example, echo $total.