问题描述:

在centos6中使用systemctl出现报错,显示命令不存在。

systemctl:command not found

原因:

centos6不支持systemctl命令。


解决方案:

使用service命令代替systemctl

例如:我需要重启系统网卡,则使用命令:

service network restart

参考链接:1.systemctl找不到命令

                  2.Linux重启网卡命令

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐