From owner-freebsd-questions Wed Sep 16 11:41:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07562 for freebsd-questions-outgoing; Wed, 16 Sep 1998 11:41:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from netra.graphnet.com (netra.graphnet.com [192.206.112.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07503 for ; Wed, 16 Sep 1998 11:41:31 -0700 (PDT) (envelope-from romank@graphnet.com) Received: from graphnet.com (roman.graphnet.com [192.206.112.93]) by netra.graphnet.com (8.8.8/8.8.6) with ESMTP id OAA02637; Wed, 16 Sep 1998 14:41:05 -0400 (EDT) Message-ID: <360006A6.400C3362@graphnet.com> Date: Wed, 16 Sep 1998 14:42:46 -0400 From: Roman Katsnelson Organization: Graphnet, Inc X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: Frank Griffith CC: freebsd-questions@FreeBSD.ORG Subject: Re: Mail ifconfig -a output to myself References: <000e01bde199$aa691060$0200a8c0@fast1.dfw.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Frank Griffith wrote: > > I want to run the command ifconfig -a and have the output > of this command be mailed to myself via the Internet. So, > I typed this command line: > > ifconfig -a > mail my_emailaddress@my_domain.com > > Of course this did not work. Can someone tell me the > proper syntax for this? echo `ifconfig -a` | mail youraddress -s subject-if-you-want hth, Roman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message