Tuesday, June 11, 2013

Where is .bashrc ?

Where is .bashrc ?

Don't forget it is a hidden file inside your home directory (you would not be the first to do a ls -l and thinking it is not there).


ls -la ~/ | more


There should be a .bashrc on the first page. If not just create it with
vi ~/.bashrc


and add in the lines you need to add into it.


Permissions of my .bash.rc are


-rw-r--r-- 1 discworld discworld 3330 Mar 10 16:03 .bashrc

(chmod 644 .bashrc to make it rw r r)

No comments:

Post a Comment

Total Pageviews

Translate