help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Is a script run previously cached temporarily in bash?


From: Eduardo A . Bustamante López
Subject: Re: [Help-bash] Is a script run previously cached temporarily in bash?
Date: Tue, 9 Jun 2015 20:51:05 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Jun 09, 2015 at 05:19:21PM -0500, Peng Yu wrote:
> Hi, I seems that when a script (in $PATH) is changed, bash may still
> use the previous unchanged version for some time.
No, what bash caches is the path to the script, with 'hash', no the contents of
the script.

-- 
Eduardo Bustamante
https://dualbus.me/



reply via email to

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