Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The reason for that is that .profile was also read by login Bourne and Korne shells, with which bash is supposed to be backward compatible.

So if you only have a .profile, it makes sense to source that. If you have one of the bash-specific ones, then it's up to you whether you want to `source` the common .profile one or not.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: