From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 17:12:46 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 0793937B401 for ; Fri, 4 Jul 2003 17:12:46 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54D4E43F93 for ; Fri, 4 Jul 2003 17:12:45 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h650CisV036185; Fri, 4 Jul 2003 19:12:44 -0500 (CDT) (envelope-from dan) Date: Fri, 4 Jul 2003 19:12:44 -0500 From: Dan Nelson To: Nucking Futs Message-ID: <20030705001244.GN24527@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Command to list data 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: Sat, 05 Jul 2003 00:12:46 -0000 In the last episode (Jul 04), Nucking Futs said: > I am wondering how a shell provider running FreeBSD sets up data to be > output with a command. For example typing "vhosts" at the command prompt > would list a bunch of ip addresses. How would I set this up? Shell script, most likely. #! /bin/sh cat /etc/mail/local-host-names .. Or wherever you store your vhosts. -- Dan Nelson dnelson@allantgroup.com