- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference Between Hard link and Soft link
In this post, we will understand the difference between a hard link and a soft link −
A file that has a hard link can be accessed using multiple names.
These names are known as hard links.
Once the file is deleted, the link would still be valid.
The file can be accessed even after it has been deleted.
The command used to create a hard link is ‘ln’.
The inode number remains the same.
It can be linked to its own partition.
It consumes less memory.
It doesn’t have a relative path.
A file can be accessed through many references.
All of this point to a specific file known as a soft link.
Once the original file has been deleted, the link becomes invalid.
The inode number is different.
The command to create a soft link is ‘ln –s’.
It consumes more memory.
It has a relative path.
It can be linked to other file systems, and can be networked too.
- Difference Between Soft Computing and Hard Computing
- Difference Between Link and Association
- Difference between Hibernate and Eclipse link
- Hard and Soft Decision Decoding
- Difference between ACL and SCO Link in Bluetooth
- What is the difference between URL and Link?
- Difference between AI and Soft Computing
- Soft and hard stop of HANA system using HANA Studio
- What is the difference between Point to Point Link and Star Topology Network?
- What is the link between Strategy and Capital Budgeting?
- Bootstrap Collapsible link
- What is the link between Phi and the Golden Ratio?
- How to create HTML link that doesnt follow the link?
- Bootstrap .btn-link class
- Bootstrap alert-link class