linux 命令关闭网络

#查看网络
nmcli c show

#关闭网络
nmcli c down  "上一步的名字"

#打开网络
nmcli c up
原文地址:https://www.cnblogs.com/tarzen213/p/12917132.html