<?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: Custom Prompt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956711#M414853</link>
    <description>Hi, &lt;BR /&gt;&lt;BR /&gt;You can close this thread, if you found  a solution. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Mon, 06 Feb 2006 04:41:44 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-02-06T04:41:44Z</dc:date>
    <item>
      <title>Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956701#M414843</link>
      <description>How do I customise shell prompt to display current working directory in HPUX?...</description>
      <pubDate>Thu, 02 Feb 2006 04:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956701#M414843</guid>
      <dc:creator>akdkumar</dc:creator>
      <dc:date>2006-02-02T04:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956702#M414844</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Just put this line at the end of your /etc/profile or .profile &lt;BR /&gt;&lt;BR /&gt;export PS1='`hostname`: ${PWD}&amp;gt;'&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 02 Feb 2006 04:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956702#M414844</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-02T04:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956703#M414845</link>
      <description>It is simple as,&lt;BR /&gt;&lt;BR /&gt;export PS1="${PWD} #"&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 02 Feb 2006 04:57:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956703#M414845</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-02T04:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956704#M414846</link>
      <description>It is permanent to that shell. That is.. it is temporary only. To make permanent then put it in your $HOME/.profile or /etc/profile file as,&lt;BR /&gt;&lt;BR /&gt;export PS1="${PWD} #"&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 02 Feb 2006 04:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956704#M414846</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-02T04:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956705#M414847</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A better option will be to also display current hostname as well alongwith current directory. To achive this put this entry in /etc/profile&lt;BR /&gt;&lt;BR /&gt;export PS1=`hostname`:'$PWD&amp;gt;&amp;gt;'&lt;BR /&gt;&lt;BR /&gt;Also if te same is required to be in GUI mode then unmark the last line in .dtprofile, of that user's home directory.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 02 Feb 2006 05:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956705#M414847</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-02-02T05:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956706#M414848</link>
      <description>Hi,&lt;BR /&gt;Just put this line at the end of your /etc/profile or .profile&lt;BR /&gt;&lt;BR /&gt;PS1="`tput bold``uname -n``tput rmso` \$PWD &amp;gt; "&lt;BR /&gt;export PS1&lt;BR /&gt;&lt;BR /&gt;Good Luck,</description>
      <pubDate>Thu, 02 Feb 2006 05:04:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956706#M414848</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-02-02T05:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956707#M414849</link>
      <description>Hi,&lt;BR /&gt;Just put this line at the end of your /etc/profile or .profile&lt;BR /&gt;&lt;BR /&gt;PS1="`tput bold``uname -n``tput rmso` \$PWD &amp;gt; "&lt;BR /&gt;export PS1&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;Ps;Please do not forget to submit points!!!&lt;BR /&gt;:-))</description>
      <pubDate>Thu, 02 Feb 2006 05:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956707#M414849</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-02-02T05:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956708#M414850</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Add the following line in &lt;BR /&gt;&lt;BR /&gt;.profile&lt;BR /&gt;&lt;BR /&gt;export PS1="${PWD}#"&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Thu, 02 Feb 2006 05:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956708#M414850</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-02-02T05:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956709#M414851</link>
      <description>Hi Akdkumar ,&lt;BR /&gt;&lt;BR /&gt;Just use PS1 to set your customized shell prompt as many example mentioned above.&lt;BR /&gt;[Details # man sh-posix ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can also set the prmpt in .profile , by putting like this :&lt;BR /&gt;&lt;BR /&gt;export PS1="`hostname` : $PWD&amp;gt;&amp;gt; : `date |awk '{print $1 $2 $3}' ` &amp;gt;&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Thu, 02 Feb 2006 05:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956709#M414851</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-02-02T05:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956710#M414852</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;Solution Accepted.&lt;BR /&gt;&lt;BR /&gt;Thank You.</description>
      <pubDate>Mon, 06 Feb 2006 04:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956710#M414852</guid>
      <dc:creator>akdkumar</dc:creator>
      <dc:date>2006-02-06T04:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956711#M414853</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;You can close this thread, if you found  a solution. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 06 Feb 2006 04:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956711#M414853</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-06T04:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956712#M414854</link>
      <description>Solution received from multiple respondents</description>
      <pubDate>Mon, 06 Feb 2006 04:47:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956712#M414854</guid>
      <dc:creator>akdkumar</dc:creator>
      <dc:date>2006-02-06T04:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Prompt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956713#M414855</link>
      <description>Shalom akdkumar,&lt;BR /&gt;&lt;BR /&gt;Usually PS1 is customized in ~/.kshrc file.&lt;BR /&gt;&lt;BR /&gt;Some admins put it in /.kshrc&lt;BR /&gt;&lt;BR /&gt;Customizing PS2 might cause confusion because what is there by default is expected by most admins.&lt;BR /&gt;&lt;BR /&gt;Congrats on your solution.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 06 Feb 2006 04:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/custom-prompt/m-p/4956713#M414855</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-06T04:48:16Z</dc:date>
    </item>
  </channel>
</rss>

