[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

what's the right way to resolve localhost's IPs



Hello,

In my shell script, how to get the localhost's IPs (eth0 and eth1) correctly? I know I can run 'ifconfig' and grep etc, but it's maybe not that graceful.

Thanks
Corey


Reply to: