{"id":6930,"date":"2019-06-08T20:04:25","date_gmt":"2019-06-08T20:04:25","guid":{"rendered":"http:\/\/putridparrot.com\/blog\/?p=6930"},"modified":"2019-06-08T20:04:25","modified_gmt":"2019-06-08T20:04:25","slug":"listing-environment-variables","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/listing-environment-variables\/","title":{"rendered":"Listing environment variables"},"content":{"rendered":"<p>Occasionally we might wish to see a list of all the current environment variables.<\/p>\n<p><strong>Windows<\/strong><\/p>\n<p>In Windows, from the command prompt, execute<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nset | more \r\n<\/pre>\n<p>or from Powershell<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nGet-ChildItem Env:\r\n<\/pre>\n<p><strong>Linux<\/strong><\/p>\n<p>Within Linux, from the shell, execute<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nprintenv\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally we might wish to see a list of all the current environment variables. Windows In Windows, from the command prompt, execute set | more or from Powershell Get-ChildItem Env: Linux Within Linux, from the shell, execute printenv<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[58,53],"tags":[],"class_list":["post-6930","post","type-post","status-publish","format-standard","hentry","category-linux","category-windows"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/6930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=6930"}],"version-history":[{"count":4,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/6930\/revisions"}],"predecessor-version":[{"id":7149,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/6930\/revisions\/7149"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=6930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=6930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=6930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}