List,

Can some one help me with opening ifconfig and pipe it to a text file.
Then I want to be able to view that file.

How would I go about this?

open IFCONFIG, "/sbin/ifconfig";
 $file=<IFCONFIG>;
 print $file;

....

Kind regards,

Daniel Falkenberg

==============================
VINTEK CONSULTING PTY LTD
(ACN 088 825 209)
Email:  [EMAIL PROTECTED]
WWW:    http://www.vintek.net
Tel:    (08) 8523 5035
Fax:    (08) 8523 2104
Snail:  P.O. Box 312
        Gawler   SA   5118
==============================


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to