UNIX Show / Display all environment variables and their values command

Fig.01: Displaying all environment variables and their values command

Fig.01: Displaying all environment variables and their values command

You can use the commands env, set, and printenv display all environment variables and their value under UNIX-like operating system such as Redhat / RHEL / Fedora / CentOS / Apple OS X/ OpenBSD / FreeBSD / AIX / Linux / HP-UX and others.

Examples and usage: UNIX: Set Environment Variable

1 comment

  1. Great post! We will be linking to this great post on our site. Keep up the great writing.

    Have a question? Post it on our forum!