From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 5 Mar 2005 09:43:42 -0500 From: Sam To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] OT: plan9port question In-Reply-To: <034101c5213d$ee4ccf20$65ec7d50@kilgore> Message-ID: References: <034101c5213d$ee4ccf20$65ec7d50@kilgore> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: 1fc4aa98-ead0-11e9-9d60-3106f5b1d025 >> Linux ls works and $PLAN9/bin/ls also works.. > > not sure i fully understand this but the shell could be caching > executable pathnames to avoid the $PATH walk. ... which bash definitely does. lappie. cat >bin/foo #!/bin/sh echo foo lappie. chmod a+x bin/foo lappie. foo foo lappie. rm bin/foo lappie. foo bash: /home/sah/bin/foo: No such file or directory lappie.