4 answers
Hard Link: Two actual copies of the same program. Make changes to one and the other reflects the same changes. Make changes to the latter and the former changes. Both files take up space on disk. Use this if you want to mirror some of your files. I don't think it is possible to do this with directories, only files.
Symbolic Link: Only one true copy of the file on disk. The symlink(s) which point(s) to it are simply pointers which know the address of the true copy. Any changes to the symlink changes the true copy and any changes to the true copy changes the true copy. So only the true copy gets modified, but it may be modified through any of the symlinks which are linked to it. So you need to take care if you modify any of the symlinks because the true copy will reflect those changes and then in turn so will all of the symlinks. Possible with directories.
1 answer