<?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: time on PS1 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983401#M922786</link>
    <description>export PS1="`hostname`(!)`date`# "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 28 May 2003 13:03:08 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-05-28T13:03:08Z</dc:date>
    <item>
      <title>time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983400#M922785</link>
      <description>how can i put a system time on PS1 on .profile?&lt;BR /&gt;thank for your support</description>
      <pubDate>Wed, 28 May 2003 13:01:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983400#M922785</guid>
      <dc:creator>roberto salvatori</dc:creator>
      <dc:date>2003-05-28T13:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983401#M922786</link>
      <description>export PS1="`hostname`(!)`date`# "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 28 May 2003 13:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983401#M922786</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-28T13:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983402#M922787</link>
      <description>set_prompt() {&lt;BR /&gt;#&lt;BR /&gt;# put this function in your .profile&lt;BR /&gt;# and rock&lt;BR /&gt;TIME=$(date +%H:%M)&lt;BR /&gt;export PS1=":`hostname`:`/usr/bin/whoami`:\${PWD}:\${TIME} "&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;then make sure to call the function towrds the end of your .profile&lt;BR /&gt;&lt;BR /&gt;set_prompt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;donny</description>
      <pubDate>Wed, 28 May 2003 13:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983402#M922787</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-05-28T13:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983403#M922788</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Try this for full date including the time:&lt;BR /&gt;&lt;BR /&gt;export PS1="`date -u +%c`# " &lt;BR /&gt;&lt;BR /&gt;This will only give you the date:&lt;BR /&gt;export PS1="`date`# " &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;DR</description>
      <pubDate>Wed, 28 May 2003 13:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983403#M922788</guid>
      <dc:creator>Dario_1</dc:creator>
      <dc:date>2003-05-28T13:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983404#M922789</link>
      <description>another note on time in your prompt.&lt;BR /&gt;&lt;BR /&gt;sad but true. it does not keep up with the system time.&lt;BR /&gt;&lt;BR /&gt;you will only notice the logged in time&lt;BR /&gt;if you find simething that can do it let me know.&lt;BR /&gt;&lt;BR /&gt;tip: never use "&amp;gt;" in your prompt to end it.&lt;BR /&gt;&lt;BR /&gt;reason: say your prompt is like this&lt;BR /&gt;&lt;BR /&gt;myhp:myuser:/home/myuser:13:20 &amp;gt;&lt;BR /&gt;&lt;BR /&gt;then for some reason down the line you want to cut and paste from your console.&lt;BR /&gt;&lt;BR /&gt;guess what will happen if you accidently cut and paste this&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /etc/passwd&lt;BR /&gt;&lt;BR /&gt;or any othe file which you have write privileges to&lt;BR /&gt;&lt;BR /&gt;peace, &lt;BR /&gt;live free or die&lt;BR /&gt;donny&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 May 2003 13:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983404#M922789</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-05-28T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983405#M922790</link>
      <description>As previously stated, the date command (with whatever formatting you want to just get time or whatever) will give you the time that you pressed the enter key and got the prompt.  It will not refresh itself like a running clock, if that's what you mean.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 28 May 2003 13:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983405#M922790</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-05-28T13:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983406#M922791</link>
      <description>thanks to all but it's not what i want. i want that the time, after every command, refreshing itself, like on linux. i don't know if is possible on hp-ux but ... everithing is possible.&lt;BR /&gt;waiting for you, best regards</description>
      <pubDate>Wed, 28 May 2003 13:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983406#M922791</guid>
      <dc:creator>roberto salvatori</dc:creator>
      <dc:date>2003-05-28T13:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983407#M922792</link>
      <description>thank u all</description>
      <pubDate>Wed, 28 May 2003 14:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983407#M922792</guid>
      <dc:creator>roberto salvatori</dc:creator>
      <dc:date>2003-05-28T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983408#M922793</link>
      <description>are you using bash on linux?&lt;BR /&gt;&lt;BR /&gt;that is a built in feature of bash.&lt;BR /&gt;&lt;BR /&gt;compile and install bash on hp-ux. then you'll be set.&lt;BR /&gt;&lt;BR /&gt;also, points would be nice</description>
      <pubDate>Wed, 28 May 2003 14:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983408#M922793</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-05-28T14:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: time on PS1</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983409#M922794</link>
      <description>i'm using a sh shell like root and i don't want to change anything on system (hp-ux 11).&lt;BR /&gt;points u'll have. don't worry about it.&lt;BR /&gt;best regards</description>
      <pubDate>Wed, 28 May 2003 14:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-on-ps1/m-p/2983409#M922794</guid>
      <dc:creator>roberto salvatori</dc:creator>
      <dc:date>2003-05-28T14:56:08Z</dc:date>
    </item>
  </channel>
</rss>

