位置: sudo service: command not found 报错的解决方法 - 标签

sudo service: command not found 报错的解决方法

sudo service: command not found 报错的解决方法

简述:问题:配置成功sudo后,执行sudo/etc/init.d/httpdrestart正常。但执行sudoservicehttpdrestart出现一下错误:sudo:service:commandnotfound解决方法:1.将service的路径写入PATH

发布时间:2024/02/26

  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号