On Tue, 2 Mar 1999, Mitchell Gil Maltenfort wrote:

> >> I am confused about where my .profile is.  I know where it SHOULD
> >> be....and i know i have to do a ls -a to see it....but when i do
> that it
> >> is not there...yes when i try and creat a file named .profile it
> asks if
> >> i want to overwrite the one that is there....so what is the deal
with
> >> that? Running RH5.2 with bash shell.
> >> 
> >
> >On RH it's called .bash_profile
> >
> 
> Query from an anal newbie: 
> 
> do I risk fouling up my system if I rename .bash_profile .profile for
> consistency with Linux proper?

Rename it what you like.  Bash will still look for ~/.bash_profile, and
not findig it, go its merry way without it.  Or you could do:

cd
mv .bash_profile .profile
ln -s .profile .bash_profile

Perhaps that would make both you and bash happy.:-)  You can maintain
~/.profile, and bash will find ~/.bash_profile.
> 
> and is there a documented list of other RH idiosyncracies?
> 
There may be, but I don't think this will be on it.  AFAIK it is a bash
idiosyncrasy.  I reckon each shell has a right to look for its profile
where it likes so they can all coexist on the same system.

It is on man bash, after all.

Lawson
          >< Microsoft free environment

This mail client runs on Wine.  Your mileage may vary.

> Thanks in advance.
> 
> 




___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to