<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND</title>
	<atom:link href="http://www.thegeekstuff.com/2008/09/bash-shell-take-control-of-ps1-ps2-ps3-ps4-and-prompt_command/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2008/09/bash-shell-take-control-of-ps1-ps2-ps3-ps4-and-prompt_command/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:04:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: The Beginner&#8217;s Guide to The Geek Stuff &#8211; A Guided Tour</title>
		<link>http://www.thegeekstuff.com/2008/09/bash-shell-take-control-of-ps1-ps2-ps3-ps4-and-prompt_command/comment-page-1/#comment-27684</link>
		<dc:creator>The Beginner&#8217;s Guide to The Geek Stuff &#8211; A Guided Tour</dc:creator>
		<pubDate>Tue, 29 Dec 2009 15:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=166#comment-27684</guid>
		<description>[...] Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND [...]</description>
		<content:encoded><![CDATA[<p>[...] Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sitaram</title>
		<link>http://www.thegeekstuff.com/2008/09/bash-shell-take-control-of-ps1-ps2-ps3-ps4-and-prompt_command/comment-page-1/#comment-1099</link>
		<dc:creator>Sitaram</dc:creator>
		<pubDate>Sat, 13 Sep 2008 10:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=166#comment-1099</guid>
		<description>I like having this in my .bashrc:

    PS1=&#039;\[\e[32m\]\t \h:\W \$ \[\e[m\]&#039;
    [[ $EUID == 0 ]] &amp;&amp; PS1=&#039;\[\e[31m\]\t \h:\W \$ \[\e[m\]&#039;

(1) it colors the prompt green when I&#039;m logged in as me, but when I have su&#039;d into root, it goes red -- a very useful distinction!

(2) it shows the current time in 24hr HH:MM:SS format due to the \t.  There are lots of times when I run a command and walk away, and I would like an approximate idea of how long it actually took.  (If I want &quot;exact&quot;, I&#039;ll use the time command, but that&#039;s not always needed)</description>
		<content:encoded><![CDATA[<p>I like having this in my .bashrc:</p>
<p>    PS1=&#8217;\[\e[32m\]\t \h:\W \$ \[\e[m\]&#8216;<br />
    [[ $EUID == 0 ]] &amp;&amp; PS1=&#8217;\[\e[31m\]\t \h:\W \$ \[\e[m\]&#8216;</p>
<p>(1) it colors the prompt green when I&#8217;m logged in as me, but when I have su&#8217;d into root, it goes red &#8212; a very useful distinction!</p>
<p>(2) it shows the current time in 24hr HH:MM:SS format due to the \t.  There are lots of times when I run a command and walk away, and I would like an approximate idea of how long it actually took.  (If I want &#8220;exact&#8221;, I&#8217;ll use the time command, but that&#8217;s not always needed)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajith Edassery</title>
		<link>http://www.thegeekstuff.com/2008/09/bash-shell-take-control-of-ps1-ps2-ps3-ps4-and-prompt_command/comment-page-1/#comment-901</link>
		<dc:creator>Ajith Edassery</dc:creator>
		<pubDate>Thu, 04 Sep 2008 07:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=166#comment-901</guid>
		<description>Ramesh,
An unrelated question but specific to Ubuntu... I heard that there&#039;s a directory copy installation available for Ubuntu. The last time I tried the normal install a couple of years back, it was scary. Any thoughts on this simple installation procedure.

May be you could post an article about that as well.

Cheers,
Ajith
PS: As such I am not a Linux user yet</description>
		<content:encoded><![CDATA[<p>Ramesh,<br />
An unrelated question but specific to Ubuntu&#8230; I heard that there&#8217;s a directory copy installation available for Ubuntu. The last time I tried the normal install a couple of years back, it was scary. Any thoughts on this simple installation procedure.</p>
<p>May be you could post an article about that as well.</p>
<p>Cheers,<br />
Ajith<br />
PS: As such I am not a Linux user yet</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 15:45:01 -->
