I need to add an alias to hosts file
I need to add an alias in the form of 123.123.123.123 target_name In Windows this would simply mean adding a line to the Hosts file. Looking through these forums it looks more involved in OS 10.6. Netinfo Manager seemed to be what was needed but I'm now directed to the 'dscl' command. I have looked through man dscl but I can't find the exact form of the command. I even tried to add the line to existing /etc/hosts file but it wouldn't let me write the changes (:w!)
Any specific help would be very welcome. Thanks
24" 3.06 GHz Intel iMac, Mac OS X (10.6.4), iPod Classic; iPhone 4; ATV2; 15" MBP