<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: BASH Shell change the color of my shell prompt under Linux or UNIX</title>
	<atom:link href="http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Sun, 21 Mar 2010 11:48:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ss</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-45905</link>
		<dc:creator>ss</dc:creator>
		<pubDate>Mon, 08 Feb 2010 22:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-45905</guid>
		<description>For KSH ... 
1 example is : 
FGWHITE=`echo &quot;33[1;37m&quot;`
echo &quot;${FGWHITE}&quot;
to back to normal : 
NORMAL=`echo &quot;33[m&quot;`
echo &quot;${NORMAL}&quot;</description>
		<content:encoded><![CDATA[<p>For KSH &#8230;<br />
1 example is :<br />
FGWHITE=`echo &#8220;33[1;37m&#8221;`<br />
echo &#8220;${FGWHITE}&#8221;<br />
to back to normal :<br />
NORMAL=`echo &#8220;33[m&#8221;`<br />
echo &#8220;${NORMAL}&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jigsaw</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-43861</link>
		<dc:creator>Jigsaw</dc:creator>
		<pubDate>Sun, 27 Sep 2009 19:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-43861</guid>
		<description>What do 0 and 31 in 0;31m indicate? Is there a way of specifying color as RGB values?</description>
		<content:encoded><![CDATA[<p>What do 0 and 31 in 0;31m indicate? Is there a way of specifying color as RGB values?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oinkboing</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-43708</link>
		<dc:creator>oinkboing</dc:creator>
		<pubDate>Wed, 16 Sep 2009 12:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-43708</guid>
		<description>Replace for example Color 34 with 44.
(4)4 = Background 
green_bg_color=&quot;\E[0;37;42m&quot;</description>
		<content:encoded><![CDATA[<p>Replace for example Color 34 with 44.<br />
(4)4 = Background<br />
green_bg_color=&#8221;\E[0;37;42m&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-43062</link>
		<dc:creator>Saurabh</dc:creator>
		<pubDate>Thu, 13 Aug 2009 07:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-43062</guid>
		<description>Hi,
I am using cygwin. I could not find the files .bash_profile file or .bashrc file anywhere in installation directory. I want to change color parmanent.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am using cygwin. I could not find the files .bash_profile file or .bashrc file anywhere in installation directory. I want to change color parmanent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Black_Ps`</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-42009</link>
		<dc:creator>Black_Ps`</dc:creator>
		<pubDate>Thu, 11 Jun 2009 03:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-42009</guid>
		<description>export PS1=&quot;\[[33[01;32m\]\u@\h\[33[01;34m\] \W]\]#&quot; how can i execute this command from a .sh script or .c and make it work,can somebody help.

Thanks.</description>
		<content:encoded><![CDATA[<p>export PS1=&#8221;\[[33[01;32m\]\u@\h\[33[01;34m\] \W]\]#&#8221; how can i execute this command from a .sh script or .c and make it work,can somebody help.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Purav</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-41624</link>
		<dc:creator>Purav</dc:creator>
		<pubDate>Fri, 15 May 2009 14:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-41624</guid>
		<description>this helped me. many thanks.</description>
		<content:encoded><![CDATA[<p>this helped me. many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lionel.rpm</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-41521</link>
		<dc:creator>Lionel.rpm</dc:creator>
		<pubDate>Fri, 08 May 2009 00:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-41521</guid>
		<description>export PS1=&quot;\[$(tput setaf 1)\]\u@\h:\w $ \[$(tput sgr0)\]&quot;



\u@\h:\w $ \[         Why would i use $ for root?

means?        \u@\h:\w\\$ \[      ---&gt; this is the best way.

Nice work Vivek  

 ; )</description>
		<content:encoded><![CDATA[<p>export PS1=&#8221;\[$(tput setaf 1)\]\u@\h:\w $ \[$(tput sgr0)\]&#8221;</p>
<p>\u@\h:\w $ \[         Why would i use $ for root?</p>
<p>means?        \u@\h:\w\\$ \[      &#8212;&gt; this is the best way.</p>
<p>Nice work Vivek  </p>
<p> ; )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: penduleum</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-40415</link>
		<dc:creator>penduleum</dc:creator>
		<pubDate>Sat, 21 Feb 2009 19:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-40415</guid>
		<description>hey all.

What line do i need to use to get the text in green, whit a orange hostname?

thx in advanced,

penduleum</description>
		<content:encoded><![CDATA[<p>hey all.</p>
<p>What line do i need to use to get the text in green, whit a orange hostname?</p>
<p>thx in advanced,</p>
<p>penduleum</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amira</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-40345</link>
		<dc:creator>Amira</dc:creator>
		<pubDate>Wed, 18 Feb 2009 06:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-40345</guid>
		<description>hi,..
sry but what if i want to change the colours of the command it self
like   (ls    -l    /etc/passwd )i want for example(ls) in red and (-l) with blue and (the name of file) with green</description>
		<content:encoded><![CDATA[<p>hi,..<br />
sry but what if i want to change the colours of the command it self<br />
like   (ls    -l    /etc/passwd )i want for example(ls) in red and (-l) with blue and (the name of file) with green</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres</title>
		<link>http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/comment-page-1/#comment-40062</link>
		<dc:creator>Andres</dc:creator>
		<pubDate>Sat, 31 Jan 2009 01:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/#comment-40062</guid>
		<description>I use this to set my prompt
set prompt = &quot;%B%{33[31m%}%m %{33[37m%}%B%// \n&quot;

It placed the machine name in orange color, and the path in white. It is separated by a space, so I can easily select the path by double clicking it...and I also included a / to allow me to append anything else afterwards</description>
		<content:encoded><![CDATA[<p>I use this to set my prompt<br />
set prompt = &#8220;%B%{33[31m%}%m %{33[37m%}%B%// \n&#8221;</p>
<p>It placed the machine name in orange color, and the path in white. It is separated by a space, so I can easily select the path by double clicking it&#8230;and I also included a / to allow me to append anything else afterwards</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.101 seconds -->
<!-- Cached page served by WP-Cache -->
