On Wed, Mar 22, 2023 at 09:12:19AM +0800, f...@dnsbed.com wrote:
> 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.

https://mywiki.wooledge.org/IpAddress

Reply via email to