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


Click here to return to the 'put it in /usr/local/bin' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
put it in /usr/local/bin
Authored by: hayne on Oct 08, '02 05:07:25PM

The hint said to put this modified version of 'cat' into the /bin directory. This is a very bad idea. You should never overwrite the standard stuff that comes with the OS. Instead, you should put such extras into the /usr/local directory - e.g. into /usr/local/bin for executable programs like this. Of course, you need to modify your path to make it find the version in /usr/local/bin - but that is part of the point: anyone (any script) who does not have the /usr/local/bin in their path will get the standard 'cat' that they are expecting.



[ Reply to This | # ]
put it in /usr/local/bin
Authored by: hayne on Oct 08, '02 05:11:29PM

Oops - sorry, I didn't read the hint carefully enough. It had suggested puttng it in ~/bin not in /bin as I had initially read. So consider my comment erased (if that were possible!).



[ Reply to This | # ]
put it in /usr/local/bin
Authored by: BraindeadMac on Oct 09, '02 07:47:38AM

in the posters defense, he actually said to put it in ~/bin, not /bin, ~/bin of course being
/Users/yournamehere/bin....



[ Reply to This | # ]
put it in /usr/local/bin
Authored by: BraindeadMac on Oct 09, '02 07:48:17AM

in the posters defense, he actually said to put it in ~/bin, not /bin, ~/bin of course being
/Users/yournamehere/bin....



[ Reply to This | # ]