#!/bin/bash
source /etc/profile
source ~/.bash_profile
在脚本上加入:未加载环境变量,添加source...即可 .
linux shell 脚本 在oracle 用户下设置定时(crontab) 不生效
最新推荐文章于 2023-09-25 10:33:43 发布
#!/bin/bash
source /etc/profile
source ~/.bash_profile
在脚本上加入:未加载环境变量,添加source...即可 .