Song Xinrong, 2019.11.21.linux

hostnamect1 view the host name

hostnamect1 set-hostname my.smile.com set a new hostname

hostnamect1 status View hostname

nmcli connection add con-name default type Ethernet ifname ens33 create a new connection configuration

nmcli connection delete default delete a connection

nmcli connection add con-name test2 ipv4.method manual ifname ens33 autoconnect no type Ethernet ipv4.addresses 192.168.10.100/24 ​​gw4 192.168.10.1 create a new connection configuration test2. specify a static ip address is not automatically connect

 

 

 

 

Guess you like

Origin www.cnblogs.com/songxinrong/p/11908752.html