Before setting one or more environment variables, it is a good idea to view their current configurations. In this project, you use the printenv command to view a list of your environment variables.
To see a list of your environment variables:
1. Your list of environment variables might be longer than the default screen or terminal window size, so it can be helpful to pipe the output into the more command. Type printenv | more and press Enter.
2. Record some examples of environment variables. Press the spacebar to advance through the listing one screen at a time.
3. Type clear and press Enter to clear the screen.
4. Next, use the printenv command to view the contents of two variables: SHELL and PATH. Type printenv SHELL PATH and press Enter. (See Figure 6-5.)
5. Type clear and press Enter to clear the screen for the next project.
REFERENCE:
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.