Hallo all, I need to do this in linux:
- Given: file name ‘foo.txt’
- Find: all files that are symbolic links to ‘foo.txt’
How to do it? Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends, if you are trying to find links to a specific file that is called
foo.txt,then this is the only good way:On the other hand, if you are just trying to find links to any file that happens to be named
foo.txt, then something likeor