On Sat, Dec 19, 2020 at 07:39:52PM +0800, Li Ping wrote:
[why]: source /root/.bashrc && /root/.bash_profile follow this step can not success.
source ${HOME}/.bashrc && source ${HOME}/.bash_profile
source \\${HOME}/.\\${SHELL##*/}rc
ruby string won't expand SHELL ${}?
pry(main)> puts "${HOME}" ${HOME}
Thanks, Fengguang