Mar 29, '07 07:30:01AM • Contributed by: PhilMarshall
hosts -> /etc/hosts
httpd.conf -> /etc/httpd/httpd.conf
my.cnf -> /etc/my.conf
sites.conf -> /etc/httt/sites.conf
You create a hard link in Terminal using this syntax, assuming you're in the directory where you'd like the link to be created:
$ cd ~/.system
$ ln /etc/hosts .
A hard link creates two directory entries pointing to the same file on the disk. Deleting one directory entry doesn't delete the file. Now when I back up my home folder, I also back up these personalized system files.
