在.profile中配置好环境变量后,并执行.profile。但程序在运行中获取环境变量失败。请问这是什么原因
在.bash_profile添加环境变量,采用:分割然后source .bash_profile使之生效