[lfs-support] bash profile

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jun 6 13:30:10 PDT 2015


Sandeep wrote:
> On Sat, 2015-06-06 at 15:10 -0400, Chris Staub wrote:
>> On 06/06/2015 06:17 PM, Sandeep wrote:
>>> Let me start by thanking Mike, Chris and Bruce for helping me with
>>> the
>>> wget-list problem.
>>> Now I am stuck again and can't seem to create a bash profile.
>>> I am using Arch linux as the host system and building lfs on a
>>> dedicated partition, using lfs 7.7 version.
>>>
>>> thank you
>>> Best Regards
>>>
>> You didn't say what the problem is. Are you getting an error?
> sorry for the goof up. I am new to mailing lists. Let me start afresh I
> am on the setting up enviornment part.

>I gave the command Cat > ~/.bash_profile << "EOF"
> exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

> It returned the error bash: /.bash_profile no such file or directory

It's cat, not Cat.  Linux is case sensitive.  Be sure you are the lfs 
user.  Then the command is:

cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
EOF

   -- Bruce



More information about the lfs-support mailing list