<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sourcing /etc/profile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790793#M264964</link>
    <description>How a script is sourced is dependent upon the current shell.  While most shells use a dot (.)  I know of at least one that uses the command "source".&lt;BR /&gt;&lt;BR /&gt;If you read the man pages for the shells you are likely to use they will tell you which files get sourced and in what order.</description>
    <pubDate>Thu, 18 May 2006 22:48:06 GMT</pubDate>
    <dc:creator>Daavid Turnbull</dc:creator>
    <dc:date>2006-05-18T22:48:06Z</dc:date>
    <item>
      <title>sourcing /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790789#M264960</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How to source /etc/profile ?&lt;BR /&gt;&lt;BR /&gt;I have read about sourcing .profile only.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Thu, 18 May 2006 12:41:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790789#M264960</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-05-18T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: sourcing /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790790#M264961</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;The standard login utilities automatically source /etc/profile.&lt;BR /&gt;But if you wish to do it manually after login do &lt;BR /&gt;&lt;BR /&gt;. /etc/profile&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 18 May 2006 12:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790790#M264961</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-05-18T12:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: sourcing /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790791#M264962</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;To source (read) a file, for instance, '/etc/profile', do:&lt;BR /&gt;&lt;BR /&gt;# . /etc/profile&lt;BR /&gt;&lt;BR /&gt;That is a "dot", followed by a space (blank), followed by the name of the file to be read.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 18 May 2006 12:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790791#M264962</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-05-18T12:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: sourcing /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790792#M264963</link>
      <description>Normally, when you run a script, the shell firks a new copy of the shell which then runs the script. All changes to shell environment are left with this shell. When the script terminates, the forked shell also terminates and nothing is passed back to the current shell except a numeric exit code.&lt;BR /&gt; &lt;BR /&gt;Sourcing causes the current shell to run all the instructions locally, which leaves all the changes in the current environment. Any script can be sourced. The source command is just the character . (dot or period). You put the dot in front of the script with at least one space.</description>
      <pubDate>Thu, 18 May 2006 20:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790792#M264963</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-18T20:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: sourcing /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790793#M264964</link>
      <description>How a script is sourced is dependent upon the current shell.  While most shells use a dot (.)  I know of at least one that uses the command "source".&lt;BR /&gt;&lt;BR /&gt;If you read the man pages for the shells you are likely to use they will tell you which files get sourced and in what order.</description>
      <pubDate>Thu, 18 May 2006 22:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sourcing-etc-profile/m-p/3790793#M264964</guid>
      <dc:creator>Daavid Turnbull</dc:creator>
      <dc:date>2006-05-18T22:48:06Z</dc:date>
    </item>
  </channel>
</rss>

