Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256257
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: what's the right way to resolve localhost's IPs |
| Date | 2023-03-22 02:20 +0100 |
| Message-ID | <GbViV-ebLW-3@gated-at.bofh.it> (permalink) |
| References | <GbViV-ebLW-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.debian.user | Previous | Next | Find similar | Unroll thread
Re: what's the right way to resolve localhost's IPs Greg Wooledge <greg@wooledge.org> - 2023-03-22 02:20 +0100
csiph-web