How do I reload .bashrc without logging out and back in?


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


Answers:


You just have to enter the command:

source ~/.bashrc

or you can use the shorter version of the command:

. ~/.bashrc