From owner-freebsd-questions Wed Sep 16 10:47:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25483 for freebsd-questions-outgoing; Wed, 16 Sep 1998 10:47:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.IDFW.COM (imail3.INTERLAND.NET [207.86.246.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA25457 for ; Wed, 16 Sep 1998 10:47:07 -0700 (PDT) (envelope-from frankg@idfw.com) Received: from fast1.dfw.com [207.136.52.254] by mail.IDFW.COM (SMTPD32-4.06) id A9981D70126; Wed, 16 Sep 1998 13:47:04 EDT Message-ID: <000e01bde199$aa691060$0200a8c0@fast1.dfw.com> From: "Frank Griffith" To: Subject: Mail ifconfig -a output to myself Date: Wed, 16 Sep 1998 12:44:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? BTW: I want to do this so I can keep up with my IP on my computer at home while I'm away from the house. I can't afford a static IP account just yet and my only method for reaching my home server from my office is to write down the IP before I leave and hope it doesn't have to reconnect before I get to work. Does anyone know what I'm talking about.? Any good scripts you can share? Do I need to use cron? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message