How do I restore my .bash_profile? I've accidentally overwritten my ~/.bash_profile file.  

Does anyone have a "sample" one I could copy, or know where I might be able to find one?
If your terminal window is still open, you can save the current environment settings to rebuild.  The recovered file will contain more information than you may have defined yourself, so remove the parts you don't need:

Defined vars and functions:

$ declare &gt; .bash_profile.recovered


Aliases:

$ alias &gt;&gt; .bash_profile.recovered