Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Install better ls, du, and df tools in 10.3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install better ls, du, and df tools in 10.3
Authored by: jeffulri on Apr 12, '04 09:12:12PM

It's always fun to see UNIX gearheads try to teach us MAC geeks how to do something fun. The down side is, that Mac OS X does NOT function like other UNIXes. .profile for bash will do nothing. The correct file is .bash_profile in user/home (cd ~). PLEASE don't confuse us poor folks (Wink).



[ Reply to This | # ]
Install better ls, du, and df tools in 10.3
Authored by: FenrisUlf on Apr 13, '04 12:59:12AM

actually, .profile works fine. I use it in my home directory without incident. MacOSX works remarkably similar (in some cases exactly) like a BSD variant.

---
---
Who are you that walk across the graves of giants at this late hour?



[ Reply to This | # ]
Install better ls, du, and df tools in 10.3
Authored by: FenrisUlf on Apr 13, '04 01:14:46AM

...Having said that... :) .bash_profile is read before .profile.... so if you have both, .bash_profile gets the nod if Bash finds it there.

And it doesn't continue to .profile after finding .bash_profile either. :) It's a "first come, only served" situation.

Sorry for the double posting. :D I forgot to mention that in the last one.

---
---
Who are you that walk across the graves of giants at this late hour?



[ Reply to This | # ]
Install better ls, du, and df tools in 10.3
Authored by: pjt33 on Apr 17, '04 10:10:44AM

The way bash handles initialisation is the same under OS X and Linux. Read man bash, in particular the section headed INVOCATION, to see which initialisation scripts are used in which circumstances.



[ Reply to This | # ]