List all symbolic links with their targets
where does a symlink point | list all symlinks in a directory linux | show symlink targets | find | symlinkfind /var/www/vhosts/example.com -type l -printf '%p -> %l\n'Prints every symbolic link in the format link, arrow, target, exactly as the target is stored in the link (relative or absolute). This shows at a glance which directories point to other locations, for example in deployments with a current link or relocated upload folders.
Note: readlink -f returns the fully resolved path of a single link.
Also searched as
- where does a symlink point
- list all symlinks in a directory linux
- show symlink targets