cmd, shell

Refreshing bash configuration

After writting some changes in the .bashrc file, you can reload it running this command:

$ source ~/.bashrc

or the even simpler

$ . ~/.bashrc


  • On 09.09.12 Asdirt said:

    But it is better to enter a line short . .bashrc

  • On 09.09.12 rafacas said:

    @Asdirt, that is right if you run it from your home directory. That is why I used ~ (the tilde character refers to the user home directory) in the second example so I do not have to run it from my home directory to refresh my bash configuration ;)

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*Required Fields