I was reading up on similar questions on here about what happens when you delete a hardlink to a file and the majority of the answers I was getting were that the hardlink is deleted but the original stays. However during my testing, if I have
LinkFileA.txt both in separate directories, if I
rm -rfv the directory that contains
LinkFileA.txt, it also goes and deletes the original. Example:
rm -rfv home/testing/dirb/* deletes both the file in
dirb and the file in
Why is this?