Environment variables play a major role in Linux. Most programs, whether command line based or GUI based, deal with environment variables in one way or the other. So naturally, there are tools that let you access environment variables from the command line. One such tool is printenv. In this tutorial, we will discuss printenv using some easy to understand examples.
↧