From e58c30f74f203bbcca0b5fb45e26e4260b84a723 Mon Sep 17 00:00:00 2001 From: Abdulrhman SayedAli Date: Fri, 13 Sep 2024 11:36:36 +0300 Subject: [PATCH] fix: hard links share the same inode number. (#7093) Co-authored-by: abdulrhman.ali@bld.ai --- .../linux/content/103-working-with-files/103-soft-hard-links.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/linux/content/103-working-with-files/103-soft-hard-links.md b/src/data/roadmaps/linux/content/103-working-with-files/103-soft-hard-links.md index fcc364761..b6d0c7cd4 100644 --- a/src/data/roadmaps/linux/content/103-working-with-files/103-soft-hard-links.md +++ b/src/data/roadmaps/linux/content/103-working-with-files/103-soft-hard-links.md @@ -2,7 +2,7 @@ In Unix-like operating systems like Linux, soft (symbolic) and hard links are simply references to existing files that allow users to create shortcuts and duplication effects within their file system. -A hard link is a mirror reflection of the original file, sharing the same file data but displaying a different name and inode number. It's vital to note that if the original file is deleted, the hard link still retains the file data. +A hard link is a mirror reflection of the original file, sharing the same file data and inode number, but displaying a different name. It's vital to note that if the original file is deleted, the hard link still retains the file data. On the other hand, a soft link, also known as a symbolic link, is more like a shortcut to the original file. It has a different inode number and the file data resides only in the original file. If the original file is removed, the symbolic link breaks and will not work until the original file is restored.