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

Jed Daniels picture Jed Daniels · Mar 25, 2010 · Viewed 1.1M times · Source

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

Answer

George Hawkins picture George Hawkins · Mar 25, 2010

You can enter the long form command:

source ~/.bashrc

or you can use the shorter version of the command:

. ~/.bashrc