问题描述:
在centos6中使用systemctl出现报错,显示命令不存在。
systemctl:command not found
原因:
centos6不支持systemctl命令。
解决方案:
使用service命令代替systemctl
例如:我需要重启系统网卡,则使用命令:
service network restart
参考链接:1.systemctl找不到命令
在centos6中使用systemctl出现报错,显示命令不存在。
systemctl:command not found
centos6不支持systemctl命令。
使用service命令代替systemctl
例如:我需要重启系统网卡,则使用命令:
service network restart
参考链接:1.systemctl找不到命令