Hallo all, I need to do this in linux:
How to do it
Find the inode number of the file and then search for all files with the same inode number:
$ ls -i foo.txt
41525360 foo.txt
$ find . -follow -inum 41525360
Alternatively, try the lname option of find, but this won't work if you have relative symlinks e.g. a -> ../foo.txt
$ find . -lname /path/to/foo.txt