ifdown

Disable network interfaces. More information: <https://manned.org/ifdown>.

Debian Debian
RUN apt-get update && \ apt-get install -y ifupdown2
Ubuntu
RUN apt-get update && \ apt-get install -y netscript-2.4-upstart
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y ifupdown2
Fedora
RUN dnf install -y network-scripts
Raspbian
RUN apt-get update && \ apt-get install -y ifupdown2
click the source code to copy install ifdown on any operating system with command-not-found.com