As I understand it many Mac OS X command-line tools (like ls
, cp
, chmod
, chown
etc.) are imported from FreeBSD.
- Which version of FreeBSD contains the command-line tools most compatible with the OS X ones?
- What are important differences?
- Are some of the tools imported from different systems (NetBSD, GNU...)?
My intention is to build a free environment which would contain command-line tools closest to Mac OS X for testing simple shell scripts behaviour in Mac OS X like environment. The filesytem structure, devices or other aspects do not need to be similar.