Warm tip: This article is reproduced from serverfault.com, please click

How to reload .bashrc settings without logging out and back in again?

发布于 2010-03-25 17:58:36

If I make changes to .bashrc, how do I reload it without logging out and back in?

Questioner
Jed Daniels
Viewed
0
2,490 2020-10-21 22:18:32

You can enter the long form command:

source ~/.bashrc

or you can use the shorter version of the command:

. ~/.bashrc