How to set and list environment variables on Linux - LinuxConfig.org

Environment variables are part of the Linux system shell that contain changing values. They help facilitate scripts and system programs, so that code can accommodate a variety of scenarios. Unlike regular shell variables, environment variables can be accessed system-wide, by any user or process.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-set-and-list-environment-variables-on-linux