On Sun, Jan 2, 2011 at 2:03 PM, Martin Panter
<[email protected]<vadmium%[email protected]>
> wrote:

> On 2 January 2011 08:30, Madhurya Kakati <[email protected]> wrote:
> > On Sun, Jan 2, 2011 at 1:55 PM, Martin Panter
> > <[email protected] 
> > <vadmium%[email protected]><vadmium%[email protected]<vadmium%[email protected]>
> >
> >> wrote:
> >
> >> On 2 January 2011 08:24, Madhurya Kakati <[email protected]> wrote:
> >> > now i get this error
> >> > $ xz
> >> > bash: /usr/local/bin/xz: No such file or directory
> >>
> >> Try doing "hash -r" to make Bash forget the old location, or open a new
> >> shell.
> >>
> >
> > output of echo $PATH after running hash -r
> >
> /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/kde/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin
>
> But after doing "hash -r" I'd expect your "xz" command to work. Have a
> read of "help hash", but basically Bash is remembering where it found
> xz last time, and isn't searching again after you deleted it.
>

Thanks guys. Problem solved.

Cheers & Happy New Year :-)

Reply via email to