From owner-freebsd-questions Sat Sep 19 15:04:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05887 for freebsd-questions-outgoing; Sat, 19 Sep 1998 15:04:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.IDFW.COM (imail3.INTERLAND.NET [207.86.246.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA05876 for ; Sat, 19 Sep 1998 15:04:25 -0700 (PDT) (envelope-from frankg@idfw.com) Received: from fast1.dfw.com [207.136.52.203] by mail.IDFW.COM (SMTPD32-4.06) id AA4F9C00EC; Sat, 19 Sep 1998 18:03:59 EDT Message-ID: <004301bde419$1bc12500$0200a8c0@fast1.dfw.com> From: "Frank Griffith" To: Subject: Command not found Date: Sat, 19 Sep 1998 17:01:47 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running FreeBSD 2.2.7 on a Pentium 166 system. I also run apache server and just hate to type the long command line needed to launch the server. So I made a simple batch file called apache and placed it in my /usr/sbin directory. When I type echo $PATH and check that /usr/sbin is in my path, it is. However, when I try to execute apache without giving the path /usr/sbin/apache I get the error message, "Command not found". What gives? I thought the path took care of this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message