Skip navigation.
 
mlRe: acceptable method for finding path to /usr/bin
FROM : Nick Zitzmann
DATE : Sat Feb 16 22:35:17 2008

On Feb 16, 2008, at 4:54 AM, Chris Heimark wrote:

> 1) Is there an accepted Cocoa way to find the path to /usr/bin (and 
> other prime BSD/Unix paths)?


No.

> 2) Will such Unix utilities ALWAYS be found at /usr/bin, until the 
> ends of time? (i.e. hard coding is OK)



Generally, the answer is yes. As someone already pointed out, the 
location of tar is extremely unlikely to ever change. However, there 
is one case where it may not be present - if the user is using Panther 
or earlier and did not install the BSD subsystem.

Nick Zitzmann
<http://www.chronosnet.com/>

Related mailsAuthorDate
mlacceptable method for finding path to /usr/bin Chris Heimark Feb 16, 12:54
mlRe: acceptable method for finding path to /usr/bin Andrew Farmer Feb 16, 13:56
mlRe: acceptable method for finding path to /usr/bin Nick Zitzmann Feb 16, 22:35