Linux common commands-105: ifdown

The ifdown command is used to disable the specified network interface. root privileges are required for command execution.

Syntax format: ifdown [network interface]

Common parameters:

Example

 sudo ifdown eth0

This article is reprinted from https://xugaoxiang.com/2022/09/26/linux-cmds-105-ifdown/
This site is for inclusion only, and the copyright belongs to the original author.