反正网上说是环境变量问题,我就直接在脚本第二行加入以下代码:
source /etc/profile source ~/.bashrc
问题是解决了!
Powered by: 博客园 Copyright © 2024 开飞机的贝塔 Powered by .NET 8.0 on Kubernetes