[ILUG] Commands have stopped working

Ruairi Newman ruairi at tech-mad.org
Tue Jan 6 11:37:06 GMT 2004


On Tue, 2004-01-06 at 14:28, Darragh wrote:

> > /bin/echo $PATH
> >
> the output of this is:
> 
> /usr/local/OpenOffice.org1.1.0/program:/usr/java/j2sdk1.4.2_03/bin:/usr/loca
> l/OpenOffice.org1.1.0/program:$PATH:/root/bin
> 
> I ran this command as soon as I logged in and without setting the path to
> /bin.
> I notice that open office is in there twice.  the only place that I put it
> in was /bin/openoffice.sh.  I've deleted that in case that was causing the
> problem.
> 
> why is /root/bin after $PATH ?
> 
> Darragh

Aaargh.  Have a look in /etc/profile or in .bashrc/.bash_profile in your
home directory.  You've clobbered the default path somewhere.  Looks
like you've probably quoted it somewhere i.e. export PATH='$PATH':

Regards,

Ruairí

-- 
Life isn't like a box of chocolates. It's more like a jar of jalapenos.
What you do today, might burn your ass tomorrow.
		-- Anonymous




More information about the ILUG mailing list