ifdown(8)

πŸ“¦
version 0.12.1 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… ifdown β€” the "okay bestie, we're wrapping UP" era

hi so this is ifdown, and it lives in section 8 of the System Manager's Manual πŸŽ€ β€” which means it's one of the big-girl admin commands that touches your actual system. It's the sibling of ifup, and it's the one you call when you want your network interfaces to go night night. ✨


✨ NAME ✨

ifdown β€” take interfaces down πŸ¦‹


🌸 SYNOPSIS 🌸

ifdown [<options>...] <interfaces>

no cap, that's it. options first, then the interfaces you want taken down. periodt. πŸ’…


🫢 DESCRIPTION 🫢

So here's the vibe: ifdown deconfigures interfaces based on how they're configured in the configuration database. πŸ—‚οΈ

Like, it's not out here guessing. It reads the config database, sees how that interface was supposed to be configured, and then undoes all of that. It's giving "reverse uno card" energy β€” it's the exact opposite of what ifup did. πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

kay bestie, here's every single flag. I'm not skipping a single one, not even the boring ones, because every option ate and deserves its moment πŸ’–

  • -a, --auto β€” only matches interfaces that are marked as auto. If it's not auto, it's not invited to this party. πŸ™ˆ
  • -f, --force β€” forces the deconfiguration of the interface. Lowkey this option exists just for compatibility with other implementations, so don't read too much into it. it's here for the girls that need it. πŸŽ€
  • -h, --help β€” displays the supported options to ifquery. (yes, that's word for word what the page says, and yes, I'm obsessed with how it points you at a whole different command 😭 iconic behaviour, no notes.)
  • -i, --interfaces FILE β€” use FILE as the config database. πŸ—„οΈ
  • -n, --no-act β€” shows what commands would be run instead of actually running them. this is your test-drive mode, bestie, and it is so useful for testing configuration changes. no consequences, all the vibes. ✨
  • -v, --verbose β€” shows what commands are being run as they are executed. perfect for when you're nosey (affectionate) and want to watch every move. πŸ‘€
  • -E, --executor-path PATH β€” looks for executors in the given PATH. πŸ›£οΈ
  • -I, --include PATTERN β€” includes PATTERN when matching against the config or state database. 🧚
  • -S, --state-file FILE β€” use FILE as the state database. πŸ—ƒοΈ
  • -T, --timeout TIMEOUT β€” waits up to TIMEOUT seconds for executors to complete before raising an error. ⏳ so like, patience is a virtue, but only for TIMEOUT seconds okay?? then we're yelling.
  • -V, --version β€” prints the ifupdown-ng version and exits. short, sweet, slays. πŸ’œ
  • -X, --exclude PATTERN β€” excludes PATTERN when matching against the config or state database. the opposite of -I, and honestly? both are valid. 🌈

🌸 SEE ALSO 🌸

go read these next, bestie, iykyk:


πŸ’– AUTHORS πŸ’–

Ariadne Conill <ariadne@dereferenced.org> β€” thank you for the code, queen πŸ‘‘


⚠️ reminder: ifdown deconfigures interfaces, which means your networking can genuinely go away. all these flags do real things to your real system β€” run -n (--no-act) first if you're just vibing and testing. 🫢

and that's the whole page, bestie!! 🌟 this was ifdown(8) from the System Manager's Manual, dated 2025-10-13 β€” love that for us. now go forth and take your interfaces down with confidence. mwah. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from