From owner-freebsd-questions Tue Feb 17 20:21:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA12195 for freebsd-questions-outgoing; Tue, 17 Feb 1998 20:21:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from argon.linkzone.com (argon.linkzone.com [204.182.59.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12066 for ; Tue, 17 Feb 1998 20:20:19 -0800 (PST) (envelope-from mlt@linkzone.com) Received: from localhost (mlt@localhost) by argon.linkzone.com (8.8.7/8.8.5) with SMTP id UAA28226; Tue, 17 Feb 1998 20:20:15 -0800 (PST) Date: Tue, 17 Feb 1998 20:20:15 -0800 (PST) From: Mark Turrin To: Zach Bagnall cc: hwg-servers@hwg.org, questions@FreeBSD.ORG Subject: Re: FreeBSD not executing executables In-Reply-To: <3.0.5.32.19980218143035.007a8a60@pop.ihug.co.nz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 18 Feb 1998, Zach Bagnall wrote: > Hi all, > > I have managed to install mSQL (as far as I can tell - the make, > make test, make install process worked fine), and Apache (again, > as far as I can tell). But when I come to run them, FreeBSD > gives me an 'Command not found' error. I am logged in as root and a > ls -F shows the file httpd to be executable but when I type httpd > I get 'httpd: Command not found.'. The same happens for msql, > msqladmin, msqldump, etc. > > I am new to unix but this has me at a dead end; the files are > executable, so why don't they execute? You have to give the full path to the file OR be sure the directories are in your path. You can also fire off a program not in your path by using: ./executablefile if you are in the same directory. ___________________________________________________________________ Mark L. Turrin mlt@linkzone.com --- Always remember you are unique, just like everybody else. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message