From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 06:03:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3F9D16A4BF for ; Tue, 19 Aug 2003 06:03:29 -0700 (PDT) Received: from mta8.adelphia.net (mta8.adelphia.net [64.8.50.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id F30C743FAF for ; Tue, 19 Aug 2003 06:03:28 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([24.53.179.151]) by mta8.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030819130329.OGDI7910.mta8.adelphia.net@potentialtech.com>; Tue, 19 Aug 2003 09:03:29 -0400 Message-ID: <3F422020.60501@potentialtech.com> Date: Tue, 19 Aug 2003 09:03:28 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marc B. Blake" References: <4.2.0.58.20030818220005.02e65948@MarcBlake.com> In-Reply-To: <4.2.0.58.20030818220005.02e65948@MarcBlake.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Command not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 13:03:30 -0000 Marc B. Blake wrote: > I'm trying to run the htpasswd utility with Apache and I'm getting an > error: Command not found. > > I'm new to UNIX and not sure what I can do to resolve this. I'm directing followups to questions@freebsd.org, as that's the correct place for a questions like this. htpasswd is part of the Apache webserver. Have you installed Apache? If you've _just_ installed Apache, many shells do not immediately recognize new programs after installation. The default BSD shell is one of these. To get around the problem, either logout/log back in or issue the "rehash" command to tell the shell to refresh it's list of installed programs. If you aren't sure if you have Apache installed, issue "pkg_info | grep apache" and see if it's listed. If Apache isn't installed, read the ports/packages section of the handbook for help: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Hope this helps. -- Bill Moran Potential Technologies http://www.potentialtech.com