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


Click here to return to the '10.4: Use Preview to view formatted man pages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Preview to view formatted man pages
Authored by: MrWizzle on Dec 30, '05 09:30:05AM

Please excuse my ignorance, but what's the PATH? I'm new to all this Unix stuff. Only had my Mac for a couple of months... damn Windows rotted my mind.



[ Reply to This | # ]
10.4: Use Preview to view formatted man pages
Authored by: xSmurf on Dec 30, '05 10:21:40AM
The PATH is the location where all the, terminal, programs are store. If you can type 'gre' and hitting tab autocompletes to 'grep' it's because 'grep' is in your path. The PATH is set in your ~/.bash_profile (if running bash) and will look something like export PATH=$PATH:/usr/local/bin:~/bin. You can see in my example that I add /usr/local/bin and ~/bin to the existing $PATH variable (which probably already holds paths like /bin and /sbin). Hope this helps.

---
SnitchCTL : http://snitchctl.smurfturf.net/

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]

What is the PATH?
Authored by: hayne on Dec 30, '05 10:37:33AM
See this Unix FAQ

[ Reply to This | # ]
What is the PATH?
Authored by: MrWizzle on Dec 30, '05 10:57:15AM

xSmurf: Excellent example, makes it nice 'n' clear.
Hayne: That will be extremely useful in the future!

Thank you both! One of the reasons why I love the Mac is the sense of community around it.



[ Reply to This | # ]