MAC is a Apple operating system. It is one of the most prominent open source softwares. This free online tutorial will help you to learn basics of mac cmd along with their syntax and example. These UNIX commands which we use often are case-sensitive.
Reference for mac commands, syntax and example.