Server Administration & Management

How to find all symbolic links with the “find” command

Find all symbolic links

Substitute [path] in the example below with the root level path you want to find symlinks from, and note that the final letter after -type is a lower case L (i.e. l for link):

# find [path] -type l

To find symlinks in all subdirectories from the current directory :-

# find . -type l

February 18, 2011 - Posted by | Tips & Tricks, Unix/Linux | , ,

1 Comment »

  1. I’ve been looking for precisely these details. While I was intending to come across this article I’m genuinely surprised that your experience was so easy to find and ways in which it completely when compared to my own , personal experience.

    Comment by blog about water | June 16, 2011 | Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: