linux command not found linux定时任务出现command not found解决办法

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

linux command not found linux定时任务出现command not found解决办法

  2021-03-24 我要评论
想了解linux定时任务出现command not found解决办法的相关内容吗,在本文为您仔细讲解 linux command not found的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:linux定时任务出现command,not,found,linux定时任务出现错误解决办法,下面大家一起来学习吧。

 linux定时任务出现command not found解决办法

这里写图片描述

第一步查看/etc/profile:
这里写图片描述

第二步修改 /root/.bash_profile:
这里写图片描述
末尾添加命令的路径
这里写图片描述

第三步 shell脚本修改:

#!/bin/bash

. /etc/profile
. /root/.bash_profile

脚本中添加内容如下:

这里写图片描述

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

猜您喜欢

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们