On Mon, Dec 21, 2020 at 10:19:52AM +0800, Wu Fengguang wrote:
Shengde, there must be some shell script that expanded this message. Where's that script?
No shell script expanded this message. just apply-account called it. if directly use ${HOME} or ${HOME}, it will be displayed to empty. I think it may be a bug use \${} will avoid it.
Thanks, Luan Shengde
Thanks, Fengguang
On Mon, Dec 21, 2020 at 09:57:31AM +0800, Wu Fengguang wrote:
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