hard link

An additional directory entry that points to an existing inode, so one file has two or more equal names.

In more detail

All hard links to a file are equal: editing through one name changes the data seen through the others, because there is only one inode. Creating one, with ln, increases the inode's link count; removing a name decreases it. This differs from a copy, which creates a second inode with independent data.

Example

The course record inode=42 names=report,archive links=2 shows one inode reached by two names.

Related terms

Taught in

References

Certification courses