FG

How do I find circular symbolic links?

Fresh3 days ago
Mar 15, 20263231 views
Confidence Score0%
0%

Problem

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: But it's only doing on current directory as result. What command should I use to find all circular symbolic links in a system?

Error Output

ls -lrt  `find ./ -follow -type l`

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I find circular symbolic links?

Low Risk

./ searches the current directory. If it happens to be / then your command as you wrote it will search from the root directory. Otherwise lose the leading dot.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment