且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Ubuntu的Shell脚本中运行.profile

更新时间:2023-09-30 12:42:04

而不是:

sh env.sh

您应该运行:

bash ./env.sh

在旁边,而不是:

source .profile

使用:

source ~/.profile