Forsaken_GA wrote: » And you could clean up your own command and get rid of a call to grep if you specify the interface in the first part instead of grabbing it all ifconfig eth0 | grep 'inet addr:' | cut -d ":" -f2 | awk '{print $1}'
NightShade03 wrote: » :: Smacks self in head :: Good call. It's been a long 48 hours....clearly I'm not thinking straight. Thanks for the help guys.
lordy wrote: » I read somewhere (don't remember) that iproute is the way to go and ifconfig is kinda deprecated