mirror of
https://github.com/Estom/notes.git
synced 2026-05-12 03:26:37 +08:00
linux 命令和教程补充
This commit is contained in:
25
Linux/command/ifcfg.md
Normal file
25
Linux/command/ifcfg.md
Normal file
@@ -0,0 +1,25 @@
|
||||
ifcfg
|
||||
===
|
||||
|
||||
置Linux中的网络接口参数
|
||||
|
||||
## 补充说明
|
||||
|
||||
**ifcfg命令** 是一个Bash脚本程序,用来设置Linux中的网络接口参数。
|
||||
|
||||
### 语法
|
||||
|
||||
```shell
|
||||
ifcfg(参数)
|
||||
```
|
||||
|
||||
### 参数
|
||||
|
||||
```shell
|
||||
网络接口:指定要操作的网络接口;
|
||||
add/del:添加或删除网络接口上的地址;
|
||||
ip地址:指定IP地址和子网掩码;
|
||||
Stop:停用指定的网络接口的IP地址。
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user