Bash and Its Startup File Execution Algorithm

Hi Folks

Yesterday I had an unpleasant experience trying to install Perl's BerkeleyDB (article to follow), during which I spent a long time fiddling with my ~/.bashrc and ~/.profile files, trying to set LD_LIBRARY_PATH to make that module accessible. Hint: I was on the wrong track.

In the end I wrote an article to clarify what bash runs, in what order. This is basically a note-to-self, but I hope others will benefit too.

Bash and Its Startup File Execution Algorithm

Leave a comment

About Ron Savage

user-pic I try to write all code in Perl, but find I end up writing in bash, CSS, HTML, JS, and SQL, and doing database design, just to get anything done...