Tuesday, February 3, 2015

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

You just have to enter the command:
source ~/.bashrc
 
 
or, you can use the shorter version of the command:
. ~/.bashrc
 
or you could use;
exec bash
does the same thing. (and easier to remember, at least for me)
 

No comments:

Post a Comment