如何告诉 shell 重新读取 ~/.bashrc?

如何告诉 shell 重新读取 ~/.bashrc?

我怎样才能告诉 shell 重新读取~/.bashrc而不重新启动 shell?

答案1

再次引用:

. ~/.bashrc
# or
source ~/.bashrc

相关内容