bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'hash foo' may fail, and would require something like 'hash /usr/bin


From: Alex fxmbsw7 Ratchev
Subject: Re: 'hash foo' may fail, and would require something like 'hash /usr/bin/foo'
Date: Tue, 22 Feb 2022 23:16:05 +0100

i have observed many non on clean reproducable things over time

On Tue, Feb 22, 2022, 22:00 Chet Ramey <chet.ramey@case.edu> wrote:

> On 2/22/22 3:38 PM, Benoit Lacelle wrote:
> > bash-5.1# echo $PATH
> >
> > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> >
> > bash-5.1# ls /usr/local/bin/npm
> >
> > */usr/local/bin/npm
> >
> > -> yes, there is such a file in a folder described by $PATH*
>
> I don't know what else to tell you. I can't reproduce it using ostensibly
> the same environment you have, so I can't be much help from here.
>
> Chet
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]