How to reload bash_profile in Linux / Unix ?

Have you ever wanted to reload your bash_profile in your Linux / Unix system? You obviously don’t want to restart your whole system or re-login to your system to enable your new settings like newbies. What you can do is to reload your bash_profile file using a simple syntax. You just need to use source to do that as so:

source .bash_profile

and it will do the trick.

Leave a Reply

Your email address will not be published. Required fields are marked *