Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #256257 > unrolled thread

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

Started byGreg Wooledge <greg@wooledge.org>
First post2023-03-22 02:20 +0100
Last post2023-03-22 02:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: what's the right way to resolve localhost's IPs Greg Wooledge <greg@wooledge.org> - 2023-03-22 02:20 +0100

#256257 — Re: what's the right way to resolve localhost's IPs

FromGreg Wooledge <greg@wooledge.org>
Date2023-03-22 02:20 +0100
SubjectRe: what's the right way to resolve localhost's IPs
Message-ID<GbViV-ebLW-3@gated-at.bofh.it>
On Wed, Mar 22, 2023 at 09:12:19AM +0800, fh@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

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web