Use find to list symbolic links

The find command can be used to find a list of symbolic links.

find /dir -type l -exec ls -l {} \;

The command above will find all symbolic links within “/dir” and perform an “ls -l” using the exec option.

Be the first to comment

Leave a Reply