centos 的/etc/profile配置文件的開頭那段英文什么意思?
主要是加粗那句話,是什么意思?在/etc/profile.d里重新建立一個custom.sh作用是什么?
#It's NOT a good idea to change this file unless you know what you
# are doing. It's much better to create a custom.sh shell script in
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.
2017-02-03
意思就是并不建議你直接通過修改文件里的內容來修改環境配置,可以使用你自己編寫的自定義腳本來加載你自己習慣的環境配置。custom.sh是你自己編寫的shell腳本,里面可以用來加載你自己所需的環境配置,這樣的話以后系統更新后,就算文件里的參數改變了,也不影響你之前定義的一些環境配置,也就是不需要再重新設置環境配置。