Well, I'm trying to find out my dynamically assigned IP address. I got this far: ifconfig > ifc grep --context=1 eth1 ifc > ifc1 grep "inet addr:" ifc1 > ifc2 Now I have to get the IP address from that line I isolated into a variable. Anybody? Many thanks, Jo Axalon wrote: > > On Fri, 9 Jul 1999, Yants wrote: > > > how do i write shell scripts..? > > can someone please show me an example... > > > > -=-=- useless bash script v1.0 > #!/bin/bash > sleep 10 > -=-=-
- [newbie] shell scripts Yants
- Re: [newbie] shell scripts Kuraiken
- Re: [newbie] shell scripts Steve Winston
- Re: [newbie] shell scripts Axalon
- Re: [newbie] shell scripts Michael R. Batchelor
- [newbie] shell scripts R. David Whitlock