<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in Set environment variables in Bourne shell (sh)</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/set_environment_variables_in_bourne_shell_sh_bourne_shell_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 13 Dec 2010 14:22:54 -0000</lastBuildDate><item><title>Re: Set environment variables in Bourne shell (sh)</title><link>http://www.tech-recipes.com/rx/182/set-environment-variables-in-bourne-shell-sh/#comment-111187112</link><description>&lt;p&gt;As far as I know, the commands must be on separate lines in the Bourne shell. I n the Korn shell it is possible to use one line thus:&lt;/p&gt;&lt;p&gt;EDITOR=vi export EDITOR&lt;/p&gt;&lt;p&gt;If I am not mistaken this also works in Bash.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Duncan Anderson</dc:creator><pubDate>Mon, 13 Dec 2010 14:22:54 -0000</pubDate></item><item><title>Re: Set environment variables in Bourne shell (sh)</title><link>http://www.tech-recipes.com/rx/182/set-environment-variables-in-bourne-shell-sh/#comment-48121044</link><description>&lt;p&gt;Can we do export and set in one command in bash ?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">maestromani</dc:creator><pubDate>Mon, 03 May 2010 01:25:59 -0000</pubDate></item><item><title>Re: Set environment variables in Bourne shell (sh)</title><link>http://www.tech-recipes.com/rx/182/set-environment-variables-in-bourne-shell-sh/#comment-42084586</link><description>&lt;p&gt;Not right exactly.&lt;br&gt;SH = Bourne Shell&lt;br&gt;Bash = Bourne Again Shell&lt;br&gt;&lt;a href="http://en.wikipedia.org/wiki/Bourne_shell" rel="nofollow noopener" target="_blank" title="http://en.wikipedia.org/wiki/Bourne_shell"&gt;http://en.wikipedia.org/wik...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Name</dc:creator><pubDate>Mon, 29 Mar 2010 06:39:34 -0000</pubDate></item><item><title>Re: Set environment variables in Bourne shell (sh)</title><link>http://www.tech-recipes.com/rx/182/set-environment-variables-in-bourne-shell-sh/#comment-2767091</link><description>&lt;p&gt;Bourne shell ~= bash, not sh...&lt;/p&gt;&lt;p&gt;Does function also:&lt;code&gt;export MANPATH=${MANPATH}:/new/path&lt;/code&gt;&lt;/p&gt;&lt;p&gt;To view a specific variable:&lt;code&gt;printenv PATH&lt;/code&gt;&lt;/p&gt;&lt;p&gt;To view all environment variables:&lt;code&gt;env&lt;/code&gt;&lt;/p&gt;&lt;p&gt;CoalKoRn&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CoalKoRn</dc:creator><pubDate>Tue, 14 Jun 2005 09:35:11 -0000</pubDate></item></channel></rss>