OS X

Removing ^M from your Mac text files

Here are some tips for removing those troublesome carriage return characters from Mac OS text files:

Using perl

perl -pi -e 's/\r/\n/g' <filename>

Apple OS X 10.4.11 update problems

Some people are having problems with the latest Mac OS X 10.4.11 update.

Mac Keyboard Shortcuts

A handy list of Mac Keyboard Shortcuts.

OS X and Linux Command line reference

SS64.com is a useful site with:

Incremental backups on the Mac using rsync and ssh

Instructions for setting up secure incremental backups to a remote server: How to Backup your Mac incrementally over SSH (from Pete Freitag's Homepage).

Setting up DNS Server on Mac OS X Server

1) Follow instructions here:
Mac OS X Server (v10.3 or Later): Network Services Administration (Manual)

2) Set up DNS Server to use ISP's name server to query domains not defined in the DNS settings.

Open /etc/named.conf.

In the options directive, insert the following lines:

forwarders {
               123.456.789.012;
               123.456.789.013;
               123.456.789.014;
          };
     forward only;
     listen-on {127.0.0.1; 10.3.2.1; };