Links in Linux are used to refer to a single file by multiple names. They are used to make files more accessible, to give commands multiple names, to enable programs that look for the same files in different locations to access the same files, etc. They have a similar purpose as shortcuts in Windows.
Links are created using the ln command. Two types of links exist in Linux:
1. hard links – point to data on the hard disk and share the same inode number
2. soft (symbolic) links – special types of files that point to other files instead of pointing to data on the hard drive. Unlike hard links, they don’t share the same inode number.
2. soft (symbolic) links – special types of files that point to other files instead of pointing to data on the hard drive. Unlike hard links, they don’t share the same inode number.
Post a Comment