lehe wrote:
1. The change to PATH is effective only in the current shell session. I was
wondering if it is possible to run the new bash instead of the old one
everytime it is lauched in terminal, putty and in emacs. Is there a place
where the change to PATH could be added and executed before bash
Sorry, Bob, it's my bad. ${HOME} in my previous posts were not described
consistently. Actually my $HOME on my office server is "/cis/home/tingli".
"'/cis/home/tingli/bin/bash-3.2.48/bin/bin/bash'" is actually where my new
bash executable lies in the server (the double bins were left from my sill
lehe wrote:
> As to changing to new bash from the beginning, I added into .bash_profile:
> "SHELL='/cis/home/tingli/bin/bash-3.2.48/bin/bin/bash'
> exec $SHELL "
> It works quite well. The new bash starts automatically if I ssh to the
> server from my laptop.
Good. Is there really two "/bin/bin/"
Thanks Bob!
I get my bashdb in my emacs work already.
As to changing to new bash from the beginning, I added into .bash_profile:
"SHELL='/cis/home/tingli/bin/bash-3.2.48/bin/bin/bash'
exec $SHE
lehe wrote:
> Since the old shell is the login shell reading ./bash_profile and the new
> one isn't but reading ./bashrc, how could there possibly be infinite loop
> at login-in?
There shouldn't be, so you should be okay there. But people rarely
leave things alone. If you mutated that into a fe
Thanks Bob!
Since the old shell is the login shell reading ./bash_profile and the new
one isn't but reading ./bashrc, how could there possibly be infinite loop
at login-in? You mean, new shell keeps calling itself by reading
./bash_profile? If the infinite loop happens, what would you do in those
lehe wrote:
> I just solve my problem by adding the path of my newly-installed bash to the
> beginning of PATH. However I now have some new questions:
>
> 1. The change to PATH is effective only in the current shell session. I was
> wondering if it is possible to run the new bash instead of the o
I just solve my problem by adding the path of my newly-installed bash to the
beginning of PATH. However I now have some new questions:
1. The change to PATH is effective only in the current shell session. I was
wondering if it is possible to run the new bash instead of the old one
everytime it i