|
|
paths problem
When I type 'mywhois apple.com' I get: "mywhois: Command not found." But if I type the whole path to the script, it runs just fine. I seem to remember there being a shell preference I can set to have it automagically look in /usr/bin/ for commands, but I can't remember how to do it. Can someone refresh my memory?
paths problem
whoops. Nevermind I remembered it. For those who don't know, you can create a .tshrc file in your home directory with this line:
Use 'rehash'
/usr/bin should already be in your PATH, but in C-type shells you need to do a 'rehash' after putting new executables in a PATH directory. As a matter of neatness, non-system executables should go in /usr/local/bin anyway :)
Don't change your path!
You don't want to muck with your path, and don't have to. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|