Re: Get IP address from ifconfig

2002-02-01 Thread Richard Balfour
Hi Chris, Thanks for the tip. My script works like a charm now! Cheers, Richard On Fri, 1 Feb 2002, Chris Weyn wrote: > Richard, > > the bash shell script I used to do that was the following: > > /sbin/ifconfig eth0 |grep inet |cut -d ' ' -f12 | cut -d ':' -f2 > > This may not be generic, an

Grab IP and send email notification

2002-01-31 Thread Richard Balfour
I'm looking for a way to grab just the IP address from an ifconfig command then send that variable out to an email address via a sendmail process. Does anyone have any ideas how to write this little script? Thanks, Richard -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,