From owner-freebsd-questions Mon Sep 21 12:52:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20942 for freebsd-questions-outgoing; Mon, 21 Sep 1998 12:52:20 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20910 for ; Mon, 21 Sep 1998 12:52:10 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id MAA09652; Mon, 21 Sep 1998 12:51:25 -0700 (PDT) (envelope-from dhw) Date: Mon, 21 Sep 1998 12:51:25 -0700 (PDT) From: David Wolfskill Message-Id: <199809211951.MAA09652@pau-amma.whistle.com> To: frankg@idfw.com, freebsd-questions@FreeBSD.ORG Subject: Re: Mailling my Dynamic IP to myself In-Reply-To: <000301bde435$f2781ec0$0200a8c0@fast1.dfw.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: "Frank Griffith" >Date: Sat, 19 Sep 1998 20:28:16 -0500 >!bg ifconfig tun0 | mail -s "IP Address" my_mail@my_domain.com >This did not work. Can anyone tell me why or suggest >something that will? I'm not familiar with the "!bg" directive, but it's reasonably likely that you'd need to quote the pipeline in order for it to be parsed correctly: !bg 'ifconfig tun0 | mail -s "IP Address" my_mail@my_domain.com' (for example -- not sure if the quotes I used will work; depends on how the file is parsed). david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message