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
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