Results 1 to 6 of 6

Thread: What are the different binary directories of Mac

  1. #1
    Join Date
    Nov 2009
    Posts
    46

    What are the different binary directories of Mac

    I am trying to learn about mac terminal in detail for some programming work. For that I had stucked in a place where I am not able to get the information on binary directory of the file. what are those directory and how does they work with the terminal. I need a detailed description on this binary directories of mac.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,267

    Re: What are the different binary directories of Mac

    When you enter a command or a control on the Mac OS X authority line, there are up to 7 dissimilar directories where it expression for the equivalent agenda. Acceptably, they are prearranged by various dissimilar features, and in view of the fact that there are many potential amalgamations of those features. It winds up being a lot of dissimilar categories of programs. There are 6 directories that fit a moderately consistent pattern.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,522

    Re: What are the different binary directories of Mac

    First difference: "bin" vs. "sbin". The 6 reliable directories come in corresponding pairs, named "bin" and "sbin". The "bin" description includes general-use programs, at the same time as the "sbin" description includes programs that are normally used for system management. The difference is somewhat arbitrary (for illustration, the IP ping effectiveness is in a sbin directory, but the AppleTalk description is in a bin directory), and programs in sbin are easy to get to all users (even though they often will reject to execute unless run by an administrator, or sometimes root).

  4. #4
    Join Date
    Apr 2008
    Posts
    3,295

    Re: What are the different binary directories of Mac

    Second difference: / vs. /usr/ vs. /usr/local/. Every of these directories can include bin and sbin subdirectories. The majority programs are reserved in the /usr/ description. Several of the more critical, core programs (particularly those that are necessary during the boot procedure) are kept in the / directories in its place. The explanation for this is that it is achievable to keep /usr on a file server rather than needing a two different copy on each computer on the network. But if this is done, the client computers necessitate to be capable to get to the point where they can attach to a server without having right of enter to anything in /usr; programs that completely necessitate to be available have to go in /bin or /sbin.

  5. #5
    Join Date
    Nov 2005
    Posts
    3,026

    Re: What are the different binary directories of Mac

    You have to keep in mind that in 10.2, /usr/local/bin and /usr/local/sbin were deleted from the evasion search path, which renders them moderately useless. Ultimately, there is a characteristic directory that does not fit the sample of bin/sbin pairs: it is the user's private bin directory, named ~/bin/powerpc-apple-macos (which does not survive except you take the problem to generate it). Suitably, the idea is that your home directory may be shared across various different computer architectures.

  6. #6
    Join Date
    May 2008
    Posts
    2,680

    Re: What are the different binary directories of Mac

    It may, for illustration, live on a server, and be right of entry whenever you log into any Mac OS X, Linux, Solaris, etc computer on the network. Usually, a binary program will not run on additional than one of these structural designs, so you desire dissimilar binaries obtainable to you depending on accurately which computer you are utilizing at present. This was deleted from the evasion search ph in 10.1, so is now only of historical interest.

Similar Threads

  1. Replies: 3
    Last Post: 16-07-2011, 03:03 AM
  2. Which web directories are beneficial
    By VENMANI in forum Technology & Internet
    Replies: 4
    Last Post: 21-01-2011, 07:41 AM
  3. Are directories worth
    By Mercia mAC in forum Technology & Internet
    Replies: 3
    Last Post: 19-01-2011, 02:47 AM
  4. Can i set password for directories
    By Triple-X in forum Networking & Security
    Replies: 3
    Last Post: 14-10-2009, 02:27 PM
  5. Problem with Directories
    By goatape in forum Operating Systems
    Replies: 2
    Last Post: 15-09-2008, 01:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,617,798.06800 seconds with 17 queries