develooper Front page | perl.beginners | Postings from January 2002

Grab IP and send email notification

From:
Richard Balfour
Date:
January 31, 2002 13:48
Subject:
Grab IP and send email notification
Message ID:
Pine.LNX.4.33.0201311624070.26087-100000@beethoven.balmedia.com
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





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About