From owner-freebsd-questions Thu Jul 27 14:45:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mw5.texas.net (mw5.texas.net [206.127.30.15]) by hub.freebsd.org (Postfix) with ESMTP id 48B3137C13F for ; Thu, 27 Jul 2000 14:45:25 -0700 (PDT) (envelope-from dread@mw5.texas.net) Received: from localhost.texas.net (tcnet32-025.austin.texas.net [209.99.102.151]) by mw5.texas.net (2.4/2.4) with ESMTP id QAA24571; Thu, 27 Jul 2000 16:45:22 -0500 (CDT) Received: (from dread@localhost) by localhost.texas.net (8.9.3/8.9.3) id QAA00511; Thu, 27 Jul 2000 16:45:20 -0500 (CDT) (envelope-from dread) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000727202720.27708.qmail@web3206.mail.yahoo.com> Date: Thu, 27 Jul 2000 16:44:34 -0500 (CDT) From: Don Read To: =?iso-8859-1?q?Dan=20Fairs?= Subject: RE: Shell Script Execution Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 27-Jul-00 Dan Fairs wrote: > Hi all, > > This is a silly little problem, but I can't figure out what's going on. > I'm setting up qmail (incidentally) and have created the startup > script. On trying to execute it, this happens: > > [root@bonsai rc.d]$ ./qmail.sh cdb > bash: ./qmail.sh: No such file or directory > [root@bonsai rc.d]$ file qmail.sh > qmail.sh: Bourne shell script text > [root@bonsai rc.d]$ head qmail.sh >#!/bin/sh double check that first line; no backspaces, line feeds, etc. (from one who wasted a evening on a #!/usr/bin/perl script) > > > So why am I getting that "No such file..." error? Everything seems to > be there, with permissions set... It's clearly something obvious that > I'm missing. > > Help much appreciated. > Regards, -- Don Read dread@texas.net -- "Stop telling God what to do" - Niels Bohr to A. Einstein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message