Jarry wrote: > Hi, > > just out of curiosity: is there any quick way to find all > hard- and soft-links on a system? I just want to be sure > they were all created after I moved system from the old disk > to the new one... > > Jarry
I think everything falls under the category of a hard or soft link. The following commands may help. This will print everything that has more than zero (one or more) links. find / -links +0 This will print all symbolic links. find / -type l This should print all broken links from the current directory down: notice no / or path. find -L -type l I would recommend testing these in /tmp or in a subdirectory first before running them from /. dhk