Artificial intelligent assistant

Using find to find symlinks that point to a certain pattern of files I have several directories that all have various symlinks in them. I want find (or another program) to find based on where the symlinks point to. For example this is how it currently works: (11:05:%) ll slink lrwxrwxrwx 1 dialout 9 2010-11-03 11:05 slink -> /opt/file (11:05:%) find / -name 'file' This is what I'd like to be able to do (11:05:%) find . -name 'file' /slink -> /opt/file

find . -L -name 'file'


-L means follow symbolic links and according to man it takes properties from this file. Alternativly you can write:


find . -lname 'file'


The second option will work with broken links.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 223226e2ad49894ef340e4f2ac631a1a