/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-variables.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-variables.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-variables.xml,v 1.13 2005/06/22 20:12:18 smithj Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-variables.xml,v 1.14 2005/06/22 20:45:33 smithj Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.10</version> 11<version>1.11</version>
12<date>2005-06-22</date> 12<date>2005-06-22</date>
13 13
14<section> 14<section>
15<title>Environment Variables?</title> 15<title>Environment Variables?</title>
16<subsection> 16<subsection>
259<pre caption="Updating the environment"> 259<pre caption="Updating the environment">
260# <i>env-update &amp;&amp; source /etc/profile</i> 260# <i>env-update &amp;&amp; source /etc/profile</i>
261</pre> 261</pre>
262 262
263<note> 263<note>
264The above command only updates the variables in your current terminal and 264The above command only updates the variables in your current terminal,
265<e>new</e> consoles. Thus, if you are working in X11, you will need to either 265<e>new</e> consoles, and their children. Thus, if you are working in X11, you
266type <c>source /etc/profile</c> in every new terminal you open or restart X so 266will need to either type <c>source /etc/profile</c> in every new terminal you
267that all new terminals source the new variables. 267open or restart X so that all new terminals source the new variables. If you
268use a login manager, become root and type <c>/etc/init.d/xdm restart</c>. If
269not, you will need to logout and log back in for X to spawn children with the
270new variable values.
268</note> 271</note>
269 272
270</body> 273</body>
271</subsection> 274</subsection>
272</section> 275</section>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20