[NTLUG:Discuss] Command not found

Tom Tumelty tomtumelty at gmail.com
Thu Jan 25 13:04:50 CST 2007


On 1/25/07, Chris Cox <cjcox at acm.org> wrote:
>
> Tom Tumelty wrote:
> > I am running Slackware 10.2  and  2 errors appeared  :
> >
> > -bash: PATH: command not found
> > -bash: ANT_HOME: command not found
> >
> >
> >
> > Does anyone know how to fix this ?
>
> Just a guess... but you probably have
> PATH = ... etc...
>
> There can be no spaces around the = sign
> in bash (or any bourne shell derivative).
>
> Same with ANT_HOME.  They offending lines
> are probably in your bash profile in your
> home dir... or they are in the system wide
> profile... or any script that is being pulled
> in when you get that error.
>
>


Thanks for the suggestion but that does not seem to be the problem.
Would it help to post part or all of  /etc/profile  ?

I have looked for .bashrc , .bashprofile ,  /etc/bashrc and found none of
these files.
I thought each home directory would have a .bashrc file in it but i do not
find that file anywhere on the system.

This is a default full installation of Slackware.

let me know If I can provide any information that helps.


Thanks,


Tom


More information about the Discuss mailing list