Strange message: Text file busy.

Ed Schouten ed at fxq.nl
Thu Jul 14 20:01:26 GMT 2005


* 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,
-- 
 Ed Schouten <ed at fxq.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050714/5b5ed720/attachment.bin


More information about the freebsd-current mailing list