output from the ifconfig
command.
You should now be able to separate the part you need with pattern matching.
HTH
Rod the IFFO
> -Original Message-
> From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
> Sent: 04 October 2001 08:20
> To: [EMAIL PROTECTED]
> Subject: Copy file o
> List,
>
> I have this problem that has been bothering me all day. All I want is
> to be able to copy the out put of ifconfig to a text file
> /etc/ppp/ppp.txt
>
> I have tried so many things but I can't get it to work. Once I have
> done this I need to be able to extract the ADSL ip address