<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><b><span style="font-weight: bold;">---------------------------------------------------------------<br>From:</span></b> Nathaniel <nathaniel73@gmail.com><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><b><span style="font-weight: bold;">To:</span></b> Chris Robinson <fabricator4@yahoo.com><br><b><span style="font-weight: bold;">Sent:</span></b> Sun, 10 April, 2011 9:51:50 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Simplifying getting started with the Command Line<br></font><br><div>I'm sure this would be possible.</div>
<div><div>----------------------------------------------------------------<br><br>Absolutely, in about three lines of code.<br><br>If you want to see what it looks like, paste the following into your ~/.bashrc file:<br><br>####################################<br># Nathaniel's one time man -k prompt<br>if [ ! -f ~/.bashflag ]; then<br>    echo "First time here? try man -k <keyword> to get you started"<br>    echo "Also Google bash tutorial"   <br>    echo Done > ~/.bashflag<br>fi<br>####################################<br><br>make a backup copy of your .bashrc file first:<br><br>cp ~/.bashrc ~/bashrc.bkup<br><br>and when you're finished copy the backup back again:<br><br>cp ~/bashrc.bkup ~/.bashrc<br><br>Then remove the flag file that was created:<br><br>rm ~/.bashflag<br><br>The use of .bashflag is a bit of a kludge, done because I really didn't wan't to mess with any of the bash init
 files.  Note that files starting with a '.' are hidden files.<br><br><br>Chris.<br><br><br>
</div></div>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div></body></html>