get-default-ips(1)

πŸ’– get-default-ips πŸ’–

okay bestie, welcome to the manual page for get-default-ips, a General Commands Manual situation, and honestly? she's a little icon. let's get into it 🫢


✨ NAME ✨

get-default-ips β€” she lists all IP source addresses of interfaces that have default routes. that's it. that's the job. periodt.


🌸 SYNOPSIS 🌸

get-default-ips
get-default-ips [-h | --help]
get-default-ips [-v | --version]

like. three whole moods. pick one. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: get-default-ips lists all IP source addresses of interfaces with default routes. no cap, that's literally what she does.

important tho β€” only non-dynamic, global-scoped addresses get returned. meaning the following are all omitted, bestie:

  • 127.0.0.1
  • ::1
  • link-local addresses
  • IPv6-autoconfigured addresses
  • etc.

so if you were hoping she'd hand you your loopback and all that local-only nonsense... no ma'am. she said global scope only, and she meant it. ✨


πŸŽ€ ARGUMENTS πŸŽ€

the following arguments may be provided:

  • -h | --help β€” prints command help. the "hello, what do you do" button πŸ™ˆ
  • -v | --version β€” prints program version. the "what era are we in" button ⭐

πŸ’€ EXIT STATUS πŸ’€

get-default-ips exits with 0 on success, and >0 in case of an error.

so 0 = ate, no crumbs. anything >0 = something went sideways, bestie. 😭


🌈 EXAMPLES 🌈

get-default-ips

that's the whole thing. run it, get your IPs, slay. πŸ‘‘


πŸ’œ NOTES πŸ’œ

this program is part of HiPerConTracer. the latest version of HiPerConTracer can be found on the HiPerConTracer Homepage at:

HiPerConTracer Homepage: https://www.nntb.no/~dreibh/hipercontracer/

go look at her, she's iconic. πŸ”₯


πŸ‘‘ AUTHORS πŸ‘‘

Thomas Dreibholz, Homepage: https://www.nntb.no/~dreibh


ngl this page is a whole vibe check and it passed. πŸ’–

and that's the tea, bestie β€” this was get-default-ips(1) from the get-default-ips manual, dated May 26, 2026. mwah. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from