Re: bash not running ~/.bash_profile
On 2005-06-17, James Buchanan wrote:
> Hi,
>
> For some reason my ~/.bash_profile and ~/.bashrc are not being executed
> by bash.
Under what circumstances are you running bash?
Read the INVOCATION section of the bash man page to understand when
(and whether) each file is sourced.
> Is there some way I can fix this problem? I tried to add a
> script S10sourceprofile to /etc/rc2.d/ but that didn't work.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==================================================================
Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress
<http://www.torfree.net/~chris/books/cfaj/ssr.html>
Reply to: