{"id":1301,"date":"2026-03-14T14:02:32","date_gmt":"2026-03-14T14:02:32","guid":{"rendered":"https:\/\/jamj.org\/?p=1301"},"modified":"2026-03-14T14:04:06","modified_gmt":"2026-03-14T14:04:06","slug":"export","status":"publish","type":"post","link":"https:\/\/jamj.org\/index.php\/2026\/03\/14\/export\/","title":{"rendered":"Export"},"content":{"rendered":"\n<p>This is a basic command in unix systems. It allows us to &#8220;export&#8221; the environment variables. <\/p>\n\n\n\n<p>The term &#8220;exports&#8221; basically means that we can set a group of vars for our session, making them available for the rest of our programs (and any spawned child processes). This includes things like like paths, programs settings, environment specific variables, etc. <\/p>\n\n\n\n<p>Examples:<\/p>\n\n\n\n<p><code>export -p <\/code> : Will show the variables in the actual session<\/p>\n\n\n\n<p><code>export<\/code>  : will show all the exported variables<\/p>\n\n\n\n<p><code>export name=value<\/code> : will export a variable named &#8220;name&#8221;. To read the value you can do:<\/p>\n\n\n\n<p><code>echo $name<\/code><\/p>\n\n\n\n<p>As always read the docs for more info<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a basic command in unix systems. It allows us to &#8220;export&#8221; the environment variables. The term &#8220;exports&#8221; basically means that we can set a group of vars for our session, making them available for the rest of our programs (and any spawned child processes). This includes things like like paths, programs settings, environment [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-1301","post","type-post","status-publish","format-standard","hentry","category-blog","category-gnu"],"_links":{"self":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/comments?post=1301"}],"version-history":[{"count":2,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1301\/revisions"}],"predecessor-version":[{"id":1303,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/posts\/1301\/revisions\/1303"}],"wp:attachment":[{"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/media?parent=1301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/categories?post=1301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamj.org\/index.php\/wp-json\/wp\/v2\/tags?post=1301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}