<div dir="ltr">As an example to work with, here's mine.<div><br></div><div><div>RESET="\[\017\]"</div><div>NORMAL="\[\033[0m\]"</div><div>RED="\[\033[31;1m\]"</div><div>GREEN="\[\033[32;1m\]"</div><div>YELLOW="\[\033[33;1m\]"</div><div>BLUE="\[\033[34;1m\]"</div><div>WHITE="\[\033[37;1m\]"</div><div>SMILEY="${GREEN}:)${NORMAL}"</div><div>FROWNY="${RED}:(${NORMAL}"</div><div>SELECT="if [ \$? = 0 ]; then echo \"${SMILEY}\"; else echo \"${FROWNY}\"; fi"</div><div><br></div><div># Throw it all together</div><div>PS1="${RESET}${GREEN}\u@\h${NORMAL} ${BLUE}\W \`${SELECT}\` ${GREEN}\$${NORMAL} "</div></div><div><br></div><div><br></div><div>What that does is give username@boxname in green.  Directory in blue, and then either a green smiley if your last command exited with code 0 (succeeded), or a red frowny if it exited with non-zero (didn't succeed).</div><div><br></div><div>I don't remember offhand where I nabbed it from, but I added it because I was tired of always doing echo $? to see if some goofy command like named-checkconf exited with nonzero.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 6:36 AM, Stephen Partington <span dir="ltr"><<a href="mailto:cryptworks@gmail.com" target="_blank">cryptworks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">That Cyberciti page is pretty detailed. I would suggest you go with it.</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 6:31 PM, Keith Smith <span dir="ltr"><<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I have been interested in this also.  Found this site : <a href="http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html" target="_blank">http://www.cyberciti.biz/tips/<u></u>howto-linux-unix-bash-shell-<u></u>setup-prompt.html</a><div><div><br>
<br>
On 2015-01-02 19:17, <a href="mailto:joe@actionline.com" target="_blank">joe@actionline.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I recently purchased a new Dell laptop, delete M$,<br>
installed Linux Mint, and I'm in the process of<br>
setting it up the way I want it.<br>
<br>
How can I change the command line prompt from the current:<br>
<br>
"joe@joe-dell-Inspiron-3542:>"<br>
<br>
to just: "joe:>"<br>
<br>
Also, I'd like to be able to turn the touchpad off and on<br>
but the only suggested method I have found to do this<br>
does not work for me:  synclient TouchpadOff=1<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</blockquote>
<br></div></div><span><font color="#888888">
-- <br>
Keith Smith</font></span><div><div><br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>
</font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">James McPhee<br><a href="mailto:jmcphe@gmail.com">jmcphe@gmail.com</a></div>
</div>