Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2005 22:01:24 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        nj18 <nj18@nerdshack.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Strange message: Text file busy.
Message-ID:  <20050714200124.GF36726@hoeg.nl>
In-Reply-To: <42D6BED3.3030602@nerdshack.com>
References:  <42D6BED3.3030602@nerdshack.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ILuaRSyQpoVaJ1HG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* nj18 <nj18@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,
--=20
 Ed Schouten <ed@fxq.nl>

--ILuaRSyQpoVaJ1HG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC1sSUmVI4SHXwmhERAi+GAKDOp2D32RuyKbflrt0bFWogZ/ih6gCgmBuG
vU6PRs6hXXEfmdwtIdc7yIg=
=PR9l
-----END PGP SIGNATURE-----

--ILuaRSyQpoVaJ1HG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050714200124.GF36726>