Display Environment Variables Linux and Windows using Command Line

UNIX/LINUX

echo $PATH

WINDOWS

echo %PATH%

List all Environment variables
UNIX/LINUX

printenv

Reference

Windows Environment Variables
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?mfr=true

Linux Environment Variables
http://compdocs.blogspot.com/2007/09/show-environment-variables-linux.html

Comparison vs DOS and Linux Shell Command Line
http://www.yolinux.com/TUTORIALS/unix_for_dos_users.htm

Other Useful Links
http://vlaurie.com/computers2/Articles/environment.htm

http://en.wikipedia.org/wiki/Environment_variable

Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn