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


Click here to return to the 'Put your changes here' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Put your changes here
Authored by: matx on Jun 19, '05 10:43:09AM

As a former tcsh user I've had to learn some of the ways of bash, so I pass along this hint about where to put those changes you make, especially for all users of one computer.

For bash users (default shell now in Tiger) you can set a variable, for example, for individual users in the "~/.bash_profile" hidden file in their home directoy, or for all users of the same computer in "/etc/profile".

If you have a lot of users for each computer at your workplace or computer lab, then the /etc/profile save time.

Three examples of how add directories to your command path, and one plain ol' set variable:

export PATH=$PATH:/opt/local/bin
export PATH=/usr/local/mysql/bin:$PATH
PATH="${PATH}:/usr/local/rush/bin"; export PATH

export NR_FONT_PATH="/Volumes/VFX/Shake/nreal/fonts/"


---
Mat X -- VFX Mac Tech



[ Reply to This | # ]