Back to Developer Roadmap

Soft and Hard Links

src/data/roadmaps/linux/content/soft-links--hard-links@KaXHG_EKxI5PUXmcvlJt6.md

4.0854 B
Original Source

Soft and Hard Links

Linux supports two types of file links. Hard links share the same inode and data as the original file - if the original is deleted, data remains accessible. Soft links (symbolic links) are shortcuts pointing to the original file path - they break if the original is removed. Create with ln for hard links and ln -s for soft links.

Visit the following resources to learn more: