Command to list data

Dan Nelson dnelson at allantgroup.com
Fri Jul 4 17:12:46 PDT 2003


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 at allantgroup.com


More information about the freebsd-questions mailing list