Date: Wed, 13 Mar 2002 22:13:25 -0500 From: Scott <scottro@nyc.rr.com> To: "Joe & Fhe Barbish" <barbish@a1poweruser.com> Cc: "FBSDQ" <questions@FreeBSD.ORG> Subject: RE: Script to hangup ppp? Message-ID: <5.1.0.14.0.20020313221105.00c21c08@pop-server.nyc.rr.com> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOMELHCKAA.barbish@a1poweruser.com> References: <20020314144909.B83799@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
> > >-----Original Message----- >From: Jonathan Chen [mailto:jonc@chen.org.nz] >Sent: Wednesday, March 13, 2002 8:49 PM >To: Joe & Fhe Barbish >Cc: FBSDQ >Subject: Re: Script to hangup ppp? > >On Wed, Mar 13, 2002 at 08:10:50PM -0500, Joe & Fhe Barbish wrote: > > No that does not work. > > It does not like the 'cat /var/run/tun0.pid' part. Gives a message >argument > > should be jobs or process id. > >Use backticks. ie ` . Not quotes, ie '. At 22:08 2002/03/13 -0500, Joe & Fhe Barbish wrote: Thanks to every one who help out on this question. I found the backtick, it's on the same key with ~. I tested the script and it work now. In bash at least (not sure about other shells--these days I seem to only use bash) you can use, instead of backticks, $( ) For touch typists, this might be easier--it is for me, simply because one types ( ) and $ more often than one does a backtick. Ah well, that's my bit of trivia for tonight. Scott Robbins To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020313221105.00c21c08>