<?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: How to Customize your Terminal Prompt</title>
	<atom:link href="http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Tue, 21 May 2013 21:37:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Jeffrey Walton</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-469380</link>
		<dc:creator>Jeffrey Walton</dc:creator>
		<pubDate>Thu, 27 Dec 2012 04:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-469380</guid>
		<description>Perhaps its my bad luck.... Mac OS X 10.7 (mid-2008 MBP):

export PS1=&quot;\h::\W $&quot; results in a prompt of:
authoriz-fd8998::~ $

Damn I wish Apple would test their stuff before unleashing it on the world.....</description>
		<content:encoded><![CDATA[<p>Perhaps its my bad luck&#8230;. Mac OS X 10.7 (mid-2008 MBP):</p>
<p>export PS1=&#8221;\h::\W $&#8221; results in a prompt of:<br />
authoriz-fd8998::~ $</p>
<p>Damn I wish Apple would test their stuff before unleashing it on the world&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Rowe</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-434921</link>
		<dc:creator>Steve Rowe</dc:creator>
		<pubDate>Sun, 07 Oct 2012 09:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-434921</guid>
		<description>This is a great addition to the command prompt......

Another i personally use is editing the ~/.bash_rc  file and adding the following line in order to view octal and normal drwxr etc permissions when typing list at the prompt (as apposed to typing ls -al)

alias list=&quot;ls -la &#124; awk &#039;{k=0;for(i=0;i&lt;=8;i++)k+=((substr(\$1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(\&quot; %0o \&quot;,k);print}&#039;&quot;

(The command above is all one line)

Hope this helps others see what the permissions are on files and folders at a glance.

Steve</description>
		<content:encoded><![CDATA[<p>This is a great addition to the command prompt&#8230;&#8230;</p>
<p>Another i personally use is editing the ~/.bash_rc  file and adding the following line in order to view octal and normal drwxr etc permissions when typing list at the prompt (as apposed to typing ls -al)</p>
<p>alias list=&#8221;ls -la | awk &#8216;{k=0;for(i=0;i&lt;=8;i++)k+=((substr(\$1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(\&quot; %0o \&quot;,k);print}&#039;&quot;</p>
<p>(The command above is all one line)</p>
<p>Hope this helps others see what the permissions are on files and folders at a glance.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-415187</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Wed, 08 Aug 2012 16:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-415187</guid>
		<description>Turns out this is only a problem if formatting brackets aren&#039;t properly terminated!</description>
		<content:encoded><![CDATA[<p>Turns out this is only a problem if formatting brackets aren&#8217;t properly terminated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-415173</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Wed, 08 Aug 2012 16:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-415173</guid>
		<description>This formatting works until the command extends to a second line, at which point the first line is overwritten.</description>
		<content:encoded><![CDATA[<p>This formatting works until the command extends to a second line, at which point the first line is overwritten.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filipe Cifali</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-291492</link>
		<dc:creator>Filipe Cifali</dc:creator>
		<pubDate>Fri, 02 Dec 2011 12:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-291492</guid>
		<description>Why didn&#039;t you just:

source .profile 

or

source .bashrc

?

Much easier to change this...

Source will read and execute the stuff that&#039;s in.</description>
		<content:encoded><![CDATA[<p>Why didn&#8217;t you just:</p>
<p>source .profile </p>
<p>or</p>
<p>source .bashrc</p>
<p>?</p>
<p>Much easier to change this&#8230;</p>
<p>Source will read and execute the stuff that&#8217;s in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bud Simrin</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-255178</link>
		<dc:creator>Bud Simrin</dc:creator>
		<pubDate>Sat, 15 Oct 2011 03:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-255178</guid>
		<description>Thank you so much. My prompt is now cleaned up.

In my new iMac with Lion, the terminal prompt was unknown34ce6f4c0ea5 ~ bud$. From this discussion I discovered that the hostname being used was \h = unknown23de6f4c0da2. I replaced \h with my correct computer name as shown in the Sharing preference pane. 

Does anyone have an idea how \h got messed up, and do I have to worry about this crazy hostname affecting other things? The hex number looks like a MAC address except I don&#039;t think I have that particular address anywhere although it differs from my wi-fi hardware Mac address by only 4 of the characters.</description>
		<content:encoded><![CDATA[<p>Thank you so much. My prompt is now cleaned up.</p>
<p>In my new iMac with Lion, the terminal prompt was unknown34ce6f4c0ea5 ~ bud$. From this discussion I discovered that the hostname being used was \h = unknown23de6f4c0da2. I replaced \h with my correct computer name as shown in the Sharing preference pane. </p>
<p>Does anyone have an idea how \h got messed up, and do I have to worry about this crazy hostname affecting other things? The hex number looks like a MAC address except I don&#8217;t think I have that particular address anywhere although it differs from my wi-fi hardware Mac address by only 4 of the characters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Add a Separator &#38; Time Stamp Between Terminal Commands to Increase Readability</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-247425</link>
		<dc:creator>Add a Separator &#38; Time Stamp Between Terminal Commands to Increase Readability</dc:creator>
		<pubDate>Mon, 03 Oct 2011 16:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-247425</guid>
		<description>[...] you want to customize the Terminals appearance a bit beyond the prompt and a custom background, you can make the Terminal much more readable by using this nice trick to [...]</description>
		<content:encoded><![CDATA[<p>[...] you want to customize the Terminals appearance a bit beyond the prompt and a custom background, you can make the Terminal much more readable by using this nice trick to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep Sharma</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-232592</link>
		<dc:creator>Pradeep Sharma</dc:creator>
		<pubDate>Tue, 06 Sep 2011 09:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-232592</guid>
		<description>$ ln -s .bashrc .bash_profile</description>
		<content:encoded><![CDATA[<p>$ ln -s .bashrc .bash_profile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ultramantis</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-202469</link>
		<dc:creator>ultramantis</dc:creator>
		<pubDate>Wed, 08 Jun 2011 22:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-202469</guid>
		<description>One thing is that in 10.6.7 it seams you have to create a file .bash_profile and put in the commands to change the command line.  I used 

export PS1=&quot;[\#]\w&gt;&quot;

so it has the command number \# and the complete path name \w</description>
		<content:encoded><![CDATA[<p>One thing is that in 10.6.7 it seams you have to create a file .bash_profile and put in the commands to change the command line.  I used </p>
<p>export PS1=&#8221;[\#]\w&gt;&#8221;</p>
<p>so it has the command number \# and the complete path name \w</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Making your $ more informative &#124; Drew Inglis</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-202158</link>
		<dc:creator>Making your $ more informative &#124; Drew Inglis</dc:creator>
		<pubDate>Tue, 07 Jun 2011 18:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-202158</guid>
		<description>[...] weren&#8217;t quite in the order that I wanted. So I went back to my search results, and I found this. Here are the relevant bits: export PS1=&quot; [...]</description>
		<content:encoded><![CDATA[<p>[...] weren&#8217;t quite in the order that I wanted. So I went back to my search results, and I found this. Here are the relevant bits: export PS1=&quot; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacksonville divorce attorney</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-191961</link>
		<dc:creator>jacksonville divorce attorney</dc:creator>
		<pubDate>Wed, 20 Apr 2011 04:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-191961</guid>
		<description>1 the suitable spliting up is definitely sent in, right after month or two this record for your absolute or perhaps short-term a divorce lawyer atlanta may be manually filed. These jobs usually are not effortless by any means which is very hard in order to remember many of the clauses for a nonprofessional end user. Thus, more often than not, if the petitioner includes your money after that without any doubt, they need to choose the particular solicitors. Says such as Houston provides so many advantages for the lawyer as well as hence the Houston breakup law firm will be greater than common.</description>
		<content:encoded><![CDATA[<p>1 the suitable spliting up is definitely sent in, right after month or two this record for your absolute or perhaps short-term a divorce lawyer atlanta may be manually filed. These jobs usually are not effortless by any means which is very hard in order to remember many of the clauses for a nonprofessional end user. Thus, more often than not, if the petitioner includes your money after that without any doubt, they need to choose the particular solicitors. Says such as Houston provides so many advantages for the lawyer as well as hence the Houston breakup law firm will be greater than common.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Setting Different Prompt for Different Konsoles &#124; Aqeel Zafar</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-188366</link>
		<dc:creator>Setting Different Prompt for Different Konsoles &#124; Aqeel Zafar</dc:creator>
		<pubDate>Mon, 04 Apr 2011 12:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-188366</guid>
		<description>[...] one is easy, you can lots of posts for that, you can even do it in mac osx, but problem is, changing value for PS1 in .bashrc, effects all terminal windows, and there is no [...]</description>
		<content:encoded><![CDATA[<p>[...] one is easy, you can lots of posts for that, you can even do it in mac osx, but problem is, changing value for PS1 in .bashrc, effects all terminal windows, and there is no [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erickjohncuevas</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-151949</link>
		<dc:creator>erickjohncuevas</dc:creator>
		<pubDate>Sat, 25 Dec 2010 06:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-151949</guid>
		<description>How will i set the prompt to only like this &quot;$ &quot; and when i change to root will show only &quot;# &quot;.

thanks.</description>
		<content:encoded><![CDATA[<p>How will i set the prompt to only like this &#8220;$ &#8221; and when i change to root will show only &#8220;# &#8220;.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Der Apple/Mac - Userthread</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-147487</link>
		<dc:creator>Der Apple/Mac - Userthread</dc:creator>
		<pubDate>Thu, 16 Dec 2010 08:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-147487</guid>
		<description>[...] Eine (englischsprachige) Anleitung findest Du dort: http://osxdaily.com/2006/12/11/how-t...rminal-prompt/ Hier die komplette Dokumentation zum Bash-Prompt: [...]</description>
		<content:encoded><![CDATA[<p>[...] Eine (englischsprachige) Anleitung findest Du dort: <a href="http://osxdaily.com/2006/12/11/how-t" rel="nofollow">http://osxdaily.com/2006/12/11/how-t</a>&#8230;rminal-prompt/ Hier die komplette Dokumentation zum Bash-Prompt: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samuelgilman</title>
		<link>http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-123935</link>
		<dc:creator>samuelgilman</dc:creator>
		<pubDate>Wed, 13 Oct 2010 18:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/2006/12/11/how-to-customize-your-terminal-prompt/#comment-123935</guid>
		<description>Thanks, very helpful.</description>
		<content:encoded><![CDATA[<p>Thanks, very helpful.</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 (User agent is rejected)
Database Caching 1/3 queries in 0.003 seconds using disk: basic
Object Caching 343/344 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-21 19:40:55 -->