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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!