bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to search for symlinks pointing to directories?


From: Eric Blake
Subject: Re: How to search for symlinks pointing to directories?
Date: Sat, 18 Apr 2015 14:10:02 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 04/18/2015 11:41 AM, Peng Yu wrote:

> This can be used to check if a symbolic link is pointing a file, a
> directory, etc. Is there a way to check if a symbolic link is broken
> without enumerating all the possibilities?

find -L -type l

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]