Tags

, , , , ,

How to display environment or system variables in your terminal ?
For Linux:
$ printenv – Print all or part of environment.
$ env – Print all exported environment or run a program in a modified environment.

For Windows:
$ SET
$ SET | more

Display PATH variables
$ PATH
======================================
How to display Rubygems variables ?
$ gem env

Advertisements