Wednesday, May 23, 2012

.bashrc

Sometimes we need to change configurations, for example add a path for a application which I have recently intalled. I used to have a problem trying to find the .bashrc file.

By default you can find your .bashrc or .bash_profile file in your home folder which is

$ echo $HOME

Remember this file is hidden, to see it try with the 

$ ls -l 

option in your terminal. If you want to edit it:
$ sudo nano ~/.bashrc

if you are in your home folder. If not, try the next:

$ sudo nano $HOME/.bashrc

But if you don't find there, try in the next folder /etc/skel


No comments:

Post a Comment