<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: prompt code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 24 Jul 2008 22:39:41 GMT</pubDate>
    <description>DZone Snippets: prompt code</description>
    <item>
      <title>Changing the Bash prompt</title>
      <link>http://snippets.dzone.com/posts/show/5349</link>
      <description>The following shell command changes the bash prompt from this "james@cryton:~/projects/pear_housekeeping2/housekeeping$" to this "james@cryton&gt; "&lt;br /&gt;&lt;code&gt;&lt;br /&gt;export PS1="\n\u@\H&gt;"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I tried the above example on Ubuntu 7.10.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://www.ibm.com/developerworks/linux/library/l-tip-prompt/"&gt;Tip: Prompt magic&lt;/a&gt; [ibm.com]&lt;br /&gt;&lt;a href="http://tldp.org/HOWTO/Bash-Prompt-HOWTO/"&gt;Bash Prompt HOWTO&lt;/a&gt; [tldp.org]</description>
      <pubDate>Fri, 11 Apr 2008 22:43:21 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5349</guid>
      <author>jrobertson (James Robertson)</author>
    </item>
    <item>
      <title>Mail a file as an attachment from the UNIX prompt</title>
      <link>http://snippets.dzone.com/posts/show/589</link>
      <description>&lt;code&gt;uuencode file.txt file.txt | mail email@address.com&lt;/code&gt;</description>
      <pubDate>Mon, 22 Aug 2005 03:34:44 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/589</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
  </channel>
</rss>
