I needed to find all the files symlinked in linux that were linked to a certain file.
I had a quick search all over the internet, and eventually came up with a thread on stack exchange.
there were a few suggested answers, and the answer marked as suggested did work, but it was very slow.
there was an answer in second place that was much more elegant.
here is the answer:
files symlinked in linux
Using GNU find, this will find the files that are hard linked or sym-linked to a file:
find -L /dir/to/start -samefile /tmp/orig.file
thanks @dennis :)
sources: stackoverflow