Strange message: Text file busy.

nj18 nj18 at nerdshack.com
Thu Jul 14 21:01:42 GMT 2005


Ed Schouten wrote:

>* nj18 <nj18 at nerdshack.com> wrote:
>  
>
>>>echo date >somescript
>>>chmod +x somescript
>>>./somescript
>>>      
>>>
>>./somescript: Text file busy.
>>    
>>
>
>What if you put the following contents in somescript:
>
>#!/bin/sh
>date
>
>I guess FreeBSD 4.6 takes /bin/sh as the interpreter by default, but
>FreeBSD 5 and higher don't.
>
>Yours,
>  
>
I compiled src/bin/echo/ from FreeBSD 5.2.1 disk. It works fine:
 > ./echo date >somescript
 > chmod +x somescript
 > ./somescript
Thu Jul 14 17:00:43 EDT 2005
 >





More information about the freebsd-current mailing list