« linux定时任务出现command not found解决办法 时间:2024-3-2 16:26 作者:韩俊 分类: Linux linux定时任务出现command not found解决办法 第一步查看/etc/profile: 第二步修改 /root/.bash_profile: 末尾添加命令的路径 第三步 shell脚本修改: #!/bin/bash . /etc/profile . /root/.bash_profile 脚本中添加内容如下: 感谢阅读,希望能帮助到大家,谢谢大家对本站的支持! 标签: linux 上一篇Linux 中(加、减、乘、除)实例详解 下一篇Linux CLI操作常用快捷键总结 热门推荐 1 windows中ofd如何打印2 在shell中如何判断一个变量是否为空3 linux下执行shell命令方法简介4 win10系统下怎么彻底卸载anaconda35 电脑win7能不能直接升级到win116 windows中ofd文件怎么转换成pdf格式7 ubuntu如何卸载软件8 Nginx中如何开启php报错功能9 mingw编译能不能在linux下运行10 苹果win10系统双系统如何安装