ifdown
Disable network interfaces. More information: <https://manned.org/ifdown>.
Install
- All systems
-
curl cmd.cat/ifdown.sh
- Debian
-
apt-get install ifupdown2
- Ubuntu
-
apt-get install netscript-2.4-upstart
- Kali Linux
-
apt-get install ifupdown2
- Fedora
-
dnf install network-scripts
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install netscript-2.4-upstart
- Raspbian
-
apt-get install ifupdown2
- Dockerfile
- dockerfile.run/ifdown
Disable network interfaces. More information: <https://manned.org/ifdown>.
-
Disable interface eth0:
ifdown eth0
-
Disable all interfaces which are enabled:
ifdown -a
© tl;dr; authors and contributors