ifparse(8)

πŸ’… ifparse β€” like, the glow-up station for your interface config

okay bestie, welcome to ifparse(8) β€” that's section 8 of the system manager's manual, we love a system-administration moment πŸ’–

✨ NAME ✨

ifparse β€” redisplay interface configuration in different formats πŸ¦‹

🌸 SYNOPSIS 🌸

ifparse [<options>...] <interfaces...>

ifparse -A|--all

πŸŽ€ DESCRIPTION πŸŽ€

so here's the vibe: ifparse is used to extract information from the interface configuration file. that's it, that's the whole job πŸ’…

it's intended to be used to translate the interface configuration stanzas between different formats. like, it's giving translator bestie β€” same info, different outfit, periodt ✨

πŸ”₯ OPTIONS πŸ”₯

  • -a, --auto β€” only match interfaces that are marked as auto. picky queen behavior, honestly πŸ‘‘
  • -h, --help β€” display supported options to ifquery. yes, it literally says ifquery in the original, don't come for me πŸ™ˆ
  • -i, --interfaces FILE β€” use FILE as the config database πŸ’Ύ
  • -F, --format FORMAT β€” use FORMAT to determine what format to use. ifupdown and yaml-raw formats are available 🎨
  • -I, --include PATTERN β€” include PATTERN when matching against the config or state database 🫢
  • -U, --allow-undefined β€” create virtual interfaces for any interfaces not explicitly defined in the configuration file. this is primarily useful for property queries, iykyk πŸ”
  • -S, --state-file FILE β€” use FILE as the state database πŸ“‚
  • -T, --timeout TIMEOUT β€” wait up to TIMEOUT seconds for executors to complete before raising an error. the patience is real, but only for TIMEOUT seconds ⏳
  • -V, --version β€” print the ifupdown-ng version and exit. short and iconic, we stan πŸ’–
  • -X, --exclude PATTERN β€” exclude PATTERN when matching against the config or state database. not you, not you, not you πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

go read the whole friend group, fr fr 🌈

🧚 AUTHORS 🧚

Ariadne Conill <ariadne@dereferenced.org> β€” thank you for your service, legend 🫢⭐


this page is from the System Manager's Manual, and the date on it is 2026-05-10 β€” that's the source/version energy, keep it in your notes bestie πŸ“

okay that's the whole page!! you ate that, go parse some interfaces πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from