Forrest logo
back to the ifdown tool

ifdown:tldr:82a78

ifdown: Disable all interfaces which are enabled.
$ ifdown -a
try on your machine

The command "ifdown -a" is used to shut down all network interfaces that are currently active on a Linux system.

Here's a breakdown of the command:

  • "ifdown" is a network interface management utility in Linux used to disable or shut down a specific network interface. In this case, the "-a" option is used which stands for "all", indicating that all network interfaces should be shut down.

When executed, the "ifdown -a" command will deactivate all network interfaces, causing them to disconnect from the network and stop functioning until they are manually brought up again.

Note that this command typically requires superuser privileges (root) to be executed successfully.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ifdown tool