Re: How to add dir to path
Manon Metten(manon.metten@gmail.com) is reported to have said:
> 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.
Are you doing all of this in KDE? If so I have no clue. I would
suggest you go to a console VT and enter the path statements I showed.
Then, if it doesn't work there, there is a real problem or I am an
idiot.
Wayne
--
Flon's Law:
There is not now, and never will be, a language in which it is
the least bit difficult to write bad programs.
_______________________________________________________
Reply to: