重启网络方法(通过杀死进程方式,达到网络重启)
zh@zh:~$sudo NetworkManager restart //查看进程id
NetworkManager 已正运行(pid 10254)zh@zh:~$sudo kill 10254 //杀死进程zh@zh:~$sudo NetworkManager restartNetworkManager 已正运行(pid 10582)本文共 251 字,大约阅读时间需要 1 分钟。
重启网络方法(通过杀死进程方式,达到网络重启)
zh@zh:~$sudo NetworkManager restart //查看进程id
NetworkManager 已正运行(pid 10254)zh@zh:~$sudo kill 10254 //杀死进程zh@zh:~$sudo NetworkManager restartNetworkManager 已正运行(pid 10582)转载于:https://www.cnblogs.com/onelikeone/p/8428446.html