Comments on Linux printenv Command Tutorial for Beginners (with Examples)

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.

1 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Juergen Soiess

On my Suse LINUX 15.2   the command >> printenv SHELL HOME << works as you said

BUT   >>printenv --null SHELL HOME<<    OR  >> printenv --null SHELL << do not produce any output.