This question already has an answer here:
I have a file in
I have created a hard link by :
ln ~/file.txt ~/test/hardfile.txt
and a symlink file :
ln -s ~/file.txt ~/test/symfile.txt
- How can I find out that which file is hard link ?
- How can I find out hard link follows which file?
We can find symlink file by
->, but what about hard link?