Using Linux without understanding a shell (tcsh, csh, bash, ksh, zsh, etc.) is like cooking without a pan. You should really get yourself a good book on Linux/Unix, in general. I like the books by Mr. Sobell....here: http://www.sobell.com/
I've also attached an environment setup script (for "sh"-like shells: bash, Bourne shell, zsh, etc.) that I've used successfully for years. You'll have to modify it to suit your needs, but it should be relatively straightforward.
- It's attached as a ".txt" file because of forum post restrictions...you'll want to rename this.
Cheers,
- Brendan