A hard link is a directory entry that associates a name with a file or directory on the file-system, in effect creating an alias that may reside elsewhere on the file-system.

learn more… | top users | synonyms

4
votes
1answer
320 views

Unix: softlinks, hardlinks

I am somewhat confused what the differences between a softlink, and a hardlink are (on unix). It seems like a softlink is the same as a shortcut in windows or an alias on Mac OS X. (Can someone ...
9
votes
2answers
6k views

Finding all symbolic and hard links to a file on UNIX

If I have a specific file in a UNIX filesystem, is there a way to use bash to find all links to that file, both symbolic and hard? If I need different commands for each, what are they?
25
votes
2answers
10k views

What is the difference between NTFS hard links and directory junctions?

The title says it all... what's the difference? When do I use one and when do I use the other? Added: Note that Junction points, Hard links and Symbolic (soft) links are three separate things on ...
0
votes
8answers
1k views

How can one undo many hard links?

I foolishly used Dupemerge to change all my duplicate files into hard links. Now Windows XP is not running right, eg, explorer won't start. Is there a utility which would traverse the filesystem ...
6
votes
4answers
4k views

What are the advantages of symlinks over hard links and viceversa?

I understand the differences between symbolic and hard links, but I've never understood why choose one or the other.
22
votes
8answers
26k views

How can you see the actual hard link by ls?

I run ln /a/A /b/B I would like to see at the folder a where the file A points to by ls.