Directory structure of Mac OS X for beginner

The Mac user who have the experience with Windows OS or older version of Mac OS gets confused looking at the new directory structure of Mac OS X. The new directory structure is similar to Linux OS directory structure. It is relatively easier to understand if you have a bit of Linux OS experience.

Until we are familiar with the new directory we should not delete any system file or directory as that might cause issues to Mac OS. Following is the table of different directories of Mac with a bit of explanation:

DirectoryDescription
/ApplicationsSelf explanatory, this is where your Mac’s applications are kept
/DeveloperThe Developer directory appears only if you have installed Apple’s Developer Tools, and no surprise, contains developer related tools, documentation, and files.
/LibraryShared libraries, files necessary for the operating system to function properly, including settings, preferences, and other necessities (note: you also have a Libraries folder in your home directory, which holds files specific to that user).
/Networklargely self explanatory, network related devices, servers, libraries, etc
/SystemSystem related files, libraries, preferences, critical for the proper function of Mac OS X
/UsersAll user accounts on the machine and their accompanying unique files, settings, etc. Much like /home in Linux
/VolumesMounted devices and volumes, either virtual or real, such as hard disks, CD’s, DVD’s, DMG mounts, etc
/Root directory, present on virtually all UNIX based file systems. Parent directory of all other files
/binEssential common binaries, holds files and programs needed to boot the operating system and run properly
/etcMachine local system configuration, holds administrative, configuration, and other system files
/devDevice files, all files that represent peripheral devices including keyboards, mice, trackpads, etc
/usrSecond major hierarchy, includes subdirectories that contain information, configuration files, and other essentials used by the operating system
/sbinEssential system binaries, contains utilities for system administration
/tmpTemporary files, caches, etc
/varVariable data, contains files whose contents change as the operating system runs