Re: How to add dir to path
Manon Metten(manon.metten@gmail.com) is reported to have said:
> Hi Wayne,
>
> On 8/8/07, Wayne Topa <linuxone@intergate.com> wrote:
>
> Are you saying that you put the PATH in .bash_profile like
> > PATH="./scripts:$PATH"
> > export PATH
> >
> > And doing
> > . . .bash_profile
> >
> > does not make it availible when it finishes? If that is so, please
> > post the contents of your .bash_profile.
>
>
<--<snip>-->
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"
Wayne
--
Just about every computer on the market today runs Unix, except the Mac
(and nobody cares about it).
-- Bill Joy 6/21/85
_______________________________________________________
Reply to: