Computing.Net > Forums > Unix > symbolic link

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

symbolic link

Reply to Message Icon

Name: Mike
Date: March 11, 2001 at 07:03:05 Pacific
Comment:

Hello
How to find all symbolic link on a file.

Thanks in advance
Bye



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfram Kraft
Date: March 12, 2001 at 02:29:26 Pacific
Reply:

hi Mike,

to find all symbolic links on a file just do:

ls -al /* | grep '^l' | grep 'file_to_be_searched'

this will select all symb links (1. char of ls-output is 'l') in your system, then pipe the result to a second grep, that looks for the file you need

greet$
Wolfie


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: symbolic link

Identifying Hard Links www.computing.net/answers/unix/identifying-hard-links/3310.html

Link files in Unix www.computing.net/answers/unix/link-files-in-unix/4727.html

recursive link copy www.computing.net/answers/unix/recursive-link-copy/6214.html