Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rmpl

macrumors member
Original poster
Mar 14, 2007
68
0
Hi. I need a little help getting started programming. I'm not completely new, it's just been a few years and I'm having trouble remembering a few things. I'm hoping someone can point me in the right direction. I'm using OS X 10.4.11.

1) Where is my .bash file that the terminal reads when I first login? I can't find it.

2) How do I install apps from the shell? I need "make" so I can compile my code but I don't know how to install it.

I feel pretty dumb not knowing how to do these things. Thanks in advance for any help you can offer.
 

dannomac

macrumors member
Mar 11, 2008
95
0
Saskatoon, SK
1) Where is my .bash file that the terminal reads when I first login? I can't find it.

It's not there. You need to create it. /Users/<shortusername>/.bashrc

2) How do I install apps from the shell? I need "make" so I can compile my code but I don't know how to install it.

"make" is installed with Xcode. You get it from Apple's Devloper Connection. You'll need Xcode 2.4 for Mac OS X 10.4. Xcode 3 is for 10.5 only.
 

Rmpl

macrumors member
Original poster
Mar 14, 2007
68
0
Thanks. I got xcode installed from the link you provided. For the .bashrc file I had to name the file .profile and it worked. Even before I had a .profile file the login said "Last Login: ..." and "Welcome to Darwin!". Where is the shell getting those commands? I'd like to edit that file.
 

Cromulent

macrumors 604
Oct 2, 2006
6,817
1,102
The Land of Hope and Glory
Thanks. I got xcode installed from the link you provided. For the .bashrc file I had to name the file .profile and it worked. Even before I had a .profile file the login said "Last Login: ..." and "Welcome to Darwin!". Where is the shell getting those commands? I'd like to edit that file.

You should always edit your own personal files and not the system wide ones.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.