.bash_profile in ubuntu 01 Jul, 2009 .bash_profile in ubuntu

I updated my .bash_profile in my ubuntu instance but the changes were not getting reflected in my shell.

A bit of searching revealed that I have to instead add a new .sh file in /etc/profile.d/ that contained the necessary aliases and updates to my PATH etc. It appears like Ubuntu auto runs all .sh files in /etc/profile.d/ whenever a login session is created.

.bash_profile was a lot more personal customization. Wonder how I could this personal customization in ubuntu. Any one any ideas? Let us know via comments.

@update: Thanks to manoj for pointing out .bashrc (had forgotton about it). .bashrc does help with personalizing the environment.



Tags  ·   .bash_profile  ·   ubuntu  ·   Show Comments ▾


     
Original design for Tumblr crafted by Prashanth Kamalakanthan.
Adapted for Tumblr & Jekyll by Sai Charan. Customized theme available on Github.

Sai Charan's blog by Sai Charan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License