How do I remove a hard link in Linux?

KellyPoima

New member
How do I remove a hard link in Linux?
Answer
4 Answers. You can delete it with rm as usual:
rm NameOfFile
. Note that with hard links there is no distinction between “the original file” and “the link to the file”: you just have two names for the same file, and deleting just one of the names will not delete the other.
 

Tìm kiếm

Back
Top