How to List Environment Variables on Linux
On Linux, environment variables hold important values and settings. Scripts, applications, and shells read these values, often to configure themselves, or to control their behavior. Here are several ways to show those variables in your terminal.
Source: howtogeek.com