<?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: Startup Scripts in 10.20 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417605#M765576</link>
    <description>Try this sintaxis:&lt;BR /&gt;&lt;BR /&gt;PS1=\&amp;lt;`uname -n`\&amp;gt;\$PWD\#  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;\$PWD is not evaluated by your current shell. &lt;BR /&gt;&lt;BR /&gt;So, next shell find $PWD, and evaluate it.</description>
    <pubDate>Tue, 18 Jan 2000 07:15:04 GMT</pubDate>
    <dc:creator>Carlos Fernandez riera_1</dc:creator>
    <dc:date>2000-01-18T07:15:04Z</dc:date>
    <item>
      <title>Startup Scripts in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417603#M765574</link>
      <description>I am looking for some direction in a custom startup script.  In C-shell I have &lt;BR /&gt;a script that displays a prompt containing the [system name]\[current working &lt;BR /&gt;dir].  The script provides an updated prompt so that the pwd is always current. &lt;BR /&gt;Since the 10.20 upgrade and the new Posix shell was installed I have not been &lt;BR /&gt;able to come up with an equal.  The best I can do is a static prompt current to &lt;BR /&gt;the working dir when the script executes.  &lt;BR /&gt;If you know of a good resource for startup scripts I would appreciate it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Bob Collins&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2000 06:35:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417603#M765574</guid>
      <dc:creator>Bob Collins_3</dc:creator>
      <dc:date>2000-01-18T06:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Startup Scripts in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417604#M765575</link>
      <description>try this command in your .profile:&lt;BR /&gt;&lt;BR /&gt;PS1=`hostname`":"'$PWD'"(""`whoami`"")&amp;gt; "</description>
      <pubDate>Tue, 18 Jan 2000 07:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417604#M765575</guid>
      <dc:creator>Robert Gamble_3</dc:creator>
      <dc:date>2000-01-18T07:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Startup Scripts in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417605#M765576</link>
      <description>Try this sintaxis:&lt;BR /&gt;&lt;BR /&gt;PS1=\&amp;lt;`uname -n`\&amp;gt;\$PWD\#  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;\$PWD is not evaluated by your current shell. &lt;BR /&gt;&lt;BR /&gt;So, next shell find $PWD, and evaluate it.</description>
      <pubDate>Tue, 18 Jan 2000 07:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417605#M765576</guid>
      <dc:creator>Carlos Fernandez riera_1</dc:creator>
      <dc:date>2000-01-18T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Startup Scripts in 10.20</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417606#M765577</link>
      <description>Bob,&lt;BR /&gt;Since it's the csh your looking into, I would set up&lt;BR /&gt;an alias for cd, try this:&lt;BR /&gt;alias cd 'cd \!*;set prompt="[`hostname`]$cwd :"'&lt;BR /&gt;don't forget to exicute the cd command in the .cshrc&lt;BR /&gt;file so it will start as the prompt you want instead&lt;BR /&gt;of waiting for the cd command to be exicuted for the&lt;BR /&gt;first time.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Stacey</description>
      <pubDate>Thu, 20 Jan 2000 16:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-scripts-in-10-20/m-p/2417606#M765577</guid>
      <dc:creator>Stacey Rippetoe_1</dc:creator>
      <dc:date>2000-01-20T16:59:44Z</dc:date>
    </item>
  </channel>
</rss>

