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*

Le mar. 22 févr. 2022 à 21:37, Chet Ramey <chet.ra...@case.edu> a écrit :

> On 2/22/22 3:35 PM, Benoit Lacelle wrote:
>
> > I understand we observe the same behavior, except on 'hash npm'.
>
> So now you look at $PATH and see whether there are files named `npm' in
> any directory in $PATH.
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/
>


-- 
Benoit Lacelle
Java/ML/BigData Elite Engineer
+33 6 78 83 92 66
benoit.lace...@solven.eu

Reply via email to