[NTLUG:Discuss] Command not found

tophatjames at yahoo.com tophatjames at yahoo.com
Thu Jan 25 17:18:53 CST 2007


Also look /etc/profile for a malformed PATH= statement.  

-----Original Message-----
From: "Tom Tumelty" <tomtumelty at gmail.com>
To: "NTLUG Discussion List" <discuss at ntlug.org>
Sent: 1/25/07 1:04 PM
Subject: Re: [NTLUG:Discuss] Command not found

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
_______________________________________________
http://www.ntlug.org/mailman/listinfo/discuss
.





More information about the Discuss mailing list