Don't you have to 'hash -r' after moving cached executables?

On Thu, Nov 27, 2025 at 6:00 PM np <[email protected]> wrote:

> Hi,
>
> for example, given a script /usr/local/bin/a.sh which outputs "ok", then
> login to a console as root (for simplicity):
>
> root# a.sh
> ok
> root# mv /usr/local/bin/a.sh /usr/bin
> root# a.sh
>
> On 15.0-RC4, sh will report here that a.sh is not found, even if PATH has
> /usr/bin. But csh will find it.
>
> On 13.3 the script is found normally (did not check it on 14.x).
>
> Same thing for whatever program you want. Can you confirm this behaviour ?
>
> Cordialement,
> N.P.
>


-- 
brandon s allbery kf8nh
[email protected]

Reply via email to