profile和bash
I am reading about basic shell scripting from Linux Command Line and Shell Scripting Bible. It says that the |
bash窗口里看JAVA_HOME设置好了,但是./xxx总说没设置,原来是这个原因,运维tmd设置了java_home但是只导出了path,一直以为bash窗口里echo能看到就是没问题,最后发现是这么回事儿。
I am reading about basic shell scripting from Linux Command Line and Shell Scripting Bible. It says that the |
bash窗口里看JAVA_HOME设置好了,但是./xxx总说没设置,原来是这个原因,运维tmd设置了java_home但是只导出了path,一直以为bash窗口里echo能看到就是没问题,最后发现是这么回事儿。