markdorison markdorison - 1 year ago 321
Bash Question

How to reload .bash_profile from the command line?

How can I reload

from the command line?
I can get the shell to recognize changes to
by exiting and logging back in but I would like to be able to do it on demand.

Answer Source

Simply type source ~/.bash_profile

Alternatively, if you like saving keystrokes you can type . ~/.bash_profile

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download