[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add dir to path



Hi Wayne,

On 8/9/07, Wayne Topa <linuxone@intergate.com> wrote:

OK I think I found the problem.

Your path statement is incorrect.
PATH=~/XX:"${PATH}"

Try this

SCRIPTS="/where/your/scripts/are"
PATH="$PATH:$SCRIPTS"

That ain't the solution either. I got exactly the same output.
So I entered the line echo "Hello World..." at the end of
.bash_profile, just to see if if were executed by a new bash
session. And ... NO.

Whenever I open a new bash window, I read "Hello World..."
but when I open a new session, no message is shown.

So, I think the problem is whenever I open a new session,
.bash_profile isn't read anymore. But I really have no clue how
to solve this.

Greetings, Manon.

 


Reply to: