From owner-freebsd-questions Thu Sep 17 00:49:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15384 for freebsd-questions-outgoing; Thu, 17 Sep 1998 00:49:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from abc.xyz.net (froggy.anchorage.ptialaska.net [208.151.119.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA15353 for ; Thu, 17 Sep 1998 00:49:41 -0700 (PDT) (envelope-from groggy@iname.com) From: groggy@iname.com Received: from localhost (localhost [127.0.0.1]) by abc.xyz.net (8.8.8/8.8.8) with SMTP id XAA03113; Wed, 16 Sep 1998 23:49:53 -0800 (AKDT) (envelope-from groggy@iname.com) Date: Wed, 16 Sep 1998 23:49:53 -0800 (AKDT) X-Sender: abc@abc.xyz.net To: Frank Griffith cc: freebsd-questions@FreeBSD.ORG Subject: Re: Mail ifconfig -a output to myself In-Reply-To: <000e01bde199$aa691060$0200a8c0@fast1.dfw.com> 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, 16 Sep 1998, 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? use a pipe, not redirection. "|" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message