bash_profile

Scott Swanson DrMemory at starband.net
Wed Sep 15 13:03:51 PDT 2004


On Wed, 15 Sep 2004, Matthias B. wrote:

> ps axlfwww  >processes.txt
> 
> and post processes.txt as an attachment

Done.

> 
> 
> > > Put the commands "echo .bashrc"  and "echo .bash_profile" at the start
> > > of.bash_profile and .bashrc respectively to find out if the shell
> > > hangs before or after processing the respective file. If you see at
> > > least one of the 2 messages, put that message at the end of its file
> > > to see if the file is processed completely or if the hang occurs while
> > > processing it.
> > 
> > I see the msg at the start of .bash_profile, but nothing else. I do not
> > see any echo if I put a 2nd one at the end.
> 
> Good. This suggests that it hangs somewhere in the middle of processing
> .bash_profile.  Add 
> 
> set -x
> 
> as the first statement to .bash_profile and post the results.
> 

+ echo .bashrc
.bashrc
+ exec env -i HOME=/home/lfs TERM=linux PS1='\u:\w\$ ' /bin/bash

and nothing more....

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: processes.txt
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20040915/7142f2e2/attachment.txt>


More information about the lfs-support mailing list