I'm working on a HP-UX system and I want to find if there are any circular symbolic links.
So far I'm using the command:
ls -lrt `find ./ -follow -type l`
But it's only doing ls -lrt on current directory as result.
What command should I use to find all circular symbolic links in a system?
ls -lrt? long format, sort by time modified, reversed? Did you mean to tag linux? Because on a Mac, these options don't make sense. – Daniel Beck♦ May 2 '11 at 18:49osx, I didn't completely ask without a reason. There is btw no-followargument tofindin Unix — I assume that's GNU only. – Daniel Beck♦ May 2 '11 at 19:03