> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/ifcfg.md).

# ifcfg

置Linux中的网络接口参数

## 补充说明

**ifcfg命令** 是一个Bash脚本程序，用来设置Linux中的网络接口参数。

### 语法

```
ifcfg(参数)
```

### 参数

```
网络接口：指定要操作的网络接口；
add/del：添加或删除网络接口上的地址；
ip地址：指定IP地址和子网掩码；
Stop：停用指定的网络接口的IP地址。
```
