ifdown --version (return code: 0)
ifdown version 0.8.10ubuntu1.2
Copyright (c) 1999-2009 Anthony Towns
2010-2015 Andrew Shadura
2015 Guus Sliepen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
ifdown --help (return code: 0)
Usage: ifdown <options> <ifaces...>
Options:
-h, --help this help
-V, --version copyright and version information
-a, --all process all interfaces marked "auto"
--allow CLASS ignore non-"allow-CLASS" interfaces
-i, --interfaces FILE use FILE for interface definitions
-X, --exclude PATTERN exclude interfaces from the list of
interfaces to operate on by a PATTERN
-n, --no-act print out what would happen, but don't do it
(note that this option doesn't disable mappings)
-v, --verbose print out what would happen before doing it
-o OPTION=VALUE set OPTION to VALUE as though it were in
/etc/network/interfaces
--no-mappings don't run any mappings
--no-scripts don't run any hook scripts
--no-loopback don't act specially on the loopback device
--force force de/configuration
--ignore-errors ignore errors