Introduction to UNIX: basic concepts : Links
Previous: Directory / file hierarchy relations
Next: Introduction to UNIX: basic concepts

6. Links

Two types of links:

Hard links are additional directory entries (with a different name) pointing to the same file. Since a directory table is local to a partition, hard links can only be made in the same partition (i.e.: it is not possible to do ln /usr/local/bin/bash /bin/bash if /usr/local and / are two different partitions. Hard links cannot be made on directories.

Symbolic links are files in the filesystem which point to another file or directory anywhere in the filesystem.


Introduction to UNIX: basic concepts : Links
Previous: Directory / file hierarchy relations
Next: Introduction to UNIX: basic concepts