Chapter    8

Automating Administrative Tasks

One of the greatest strengths of OS X is the abundance of scripting languages supported out of the box. Many of these languages are interpreted by a host program rather than run directly as lower-level machine code, and thus they are text files with human-readable syntax. Because such languages are translated into machine code at run time, interpreted programs are sometimes much slower than their compiled equivalents. However, because you can edit these programs and then run them immediately, they are common tools used by system administrators to automate tasks.

Some interpreters are specifically made to run code such as Python, Perl, or Ruby, while others are more interactive and are meant for day-to-day ...

Get Enterprise Mac Administrator’s Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.