<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Env on Michael’s Domain</title><link>https://jeltsch.org/en/tags/env/</link><description>Recent content in Env on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/env/index.xml" rel="self" type="application/rss+xml"/><item><title>Changing environment variables (env, csh, bash)</title><link>https://jeltsch.org/en/changing_environment_variables_env_csh_bash/</link><pubDate>Fri, 25 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/changing_environment_variables_env_csh_bash/</guid><description>&lt;p&gt;I just install BackupPC. The perl install script complains that my environment variable LANG is set to en_US.UTF-8 and that it should be en_US. This setting is specificed in RedHat 9 Linux in the file /etc/sysconfig/i18n. To check what is the current value of the LANG variable type echo $LANG. To change or set the variable to &lt;em&gt;en_US&lt;/em&gt; type &lt;code&gt;LANG=en_US&lt;/code&gt; To show all environment variables, just enter&lt;code&gt;env&lt;/code&gt;at the command line.If you want to set an environment variable, you need to know what shell you are using. Many instructions still assume that you are using csh, but I guess it&amp;rsquo;s maybe only 1% of Linux users that use it. E.g. in the bash shell use the following command to set the environment variable DESTDIR to /usr/local&lt;code&gt;export DESTDIR=/usr/local&lt;/code&gt;while in csh type&lt;code&gt;DESTDIR = /usr/local&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>