Nmcli:修订间差异

来自三线的随记
(创建页面,内容为“=== 安装 === network-manager === 相关命令 ===  nmcli[ OPTIONS ] OBJECT { COMMAND | help } nmcli connection show 分类:Linux”)
 
无编辑摘要
第3行: 第3行:


=== 相关命令 ===
=== 相关命令 ===
 nmcli[ OPTIONS ] OBJECT { COMMAND | help }
nmcli[ OPTIONS ] OBJECT { COMMAND | help }


nmcli connection show
nmcli connection show


[[分类:Linux]]
nmcli connection show  --active
 
Define a new connection named "default" whic will autoconnect as Ethern connection on the eth0 device using DHCP
nmcli connection add con-name "default" type ethernet ifname eth0

2018年5月17日 (四) 13:26的版本

安装

network-manager

相关命令

nmcli[ OPTIONS ] OBJECT { COMMAND | help }

nmcli connection show

nmcli connection show --active

Define a new connection named "default" whic will autoconnect as Ethern connection on the eth0 device using DHCP

nmcli connection add con-name "default" type ethernet ifname eth0