Welcome, Guest. Please login or register.

Author Topic: Does Mac OSX have a 'C' like directory?  (Read 3570 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline gazgod

  • Sr. Member
  • ****
  • Join Date: Sep 2005
  • Posts: 282
    • Show all replies
    • http://www.lincsamiga.org.uk
Re: Does Mac OSX have a 'C' like directory?
« on: October 11, 2009, 09:03:38 PM »
echo $PATH should return the path on your machine.

/usr/bin is probably the best place to put the program, you can use /bin or /sbin but these should be reserved for system programs and can be wiped during system upgrade (unix standards not apples).

To run a program in your current diectory you should type ./programname to run it and you should try this before you copy a program into any directory in your path.

Gaz

Offline gazgod

  • Sr. Member
  • ****
  • Join Date: Sep 2005
  • Posts: 282
    • Show all replies
    • http://www.lincsamiga.org.uk
Re: Does Mac OSX have a 'C' like directory?
« Reply #1 on: October 12, 2009, 03:52:03 PM »
I haven't touched the path in my 10.4.9 install and it only has /bin:/sbin:/usr/bin:/usr/sbin.