localinfo(1)

πŸ“¦
version 1.12.11+20110422.1+1e14eea Β· 4 versions
, in ubuntu noble, ubuntu questing

✨ localinfo(1) β€” the local network addresses bestie ✨

okay so real talk, this is localinfo from the General Commands Manual section, and it's giving "small tool, big slay" energy. Let me put you on πŸ’…


🌸 NAME 🌸

localinfo β€” list local network addresses. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ Synopsis πŸ¦‹

localinfo [-imdn46gslh] [domainname]

πŸ’– Description πŸ’–

so the localinfo utility does exactly one (1) thing and it does it gorgeously: it obtains the local network addresses and prints them. no cap. that's the tea πŸ“


✨ Options ✨

the localinfo utility accepts the following command line options, and bestie, there are eleven of them, so let's go:

  • -i β€” include the interface name. you get names, you get addresses, you get everything 🫢
  • -m β€” map IPv4 addresses. yes queen, do the mapping πŸ’…
  • -d β€” require a reverse DNS entry. no reverse entry, no service. strict but iconic 😀
  • -n β€” use numeric host names. numbers only, no name drama ✨
  • -4 β€” IPv4 only. v4 girlies rise 🌸
  • -6 β€” IPv6 only, but plot twist: it's including mapped IPv4 addresses πŸ‘€
  • -g β€” Global addresses. the worldwide main characters πŸ‘‘
  • -s β€” Site-level addresses. mid-tier but still valid 🧚
  • -l β€” Link-level addresses. local besties only πŸ’œ
  • -h β€” Host-internal addresses. the most private, the most mysterious πŸ™ˆ

🌈 Examples 🌈

say you wanna find out your local IPv6 addresses β€” say less:

$ localinfo -6

and say you wanna find out the link-local addresses, but you want them numeric, because names are a lot:

$ localinfo -l -n

πŸ’€ Reporting Bugs πŸ’€

found a bug? not the cute kind? report it to sofia-sip-devel@lists.sourceforge.net and the devs will handle it fr fr 🫑


πŸŽ€ Author πŸŽ€

Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot com> β€” yes the email is spelled out with words instead of symbols, that's just how they did it back then, respect the craft ⭐


Copyright (C) 2005 Nokia Corporation.

This program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

translation: it's free software, and if it breaks, that's between you and the universe 😭 no warranty bestie, none at all

🌟 the sign-off 🌟

this little icon comes to you from the sofia-sip-utils crew, Version 1.12.11devel, and it was serving up localinfo(1) realness. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from