nlink Returns the number of hard links to this file.
File.stat("testfile").nlink File.link("testfile", "testfile.bak") File.stat("testfile").nlink