Finding all symlinks in a directory

Finding all symlinks in a directory

This is a very useful command if you need to find all symlinks in a certain directory:

ls -lR | grep "^l\|:$"
Niels Engelen on GithubNiels Engelen on Twitter
Niels Engelen
Working as a Principal Analyst in Product Management for Veeam Software with an interest in anything virtual and cloud with a strong focus on AWS, Azure and Microsoft 365. He is also a VMware Certified Professional, a Veeam Certified Architect and gained the VMware vExpert award (2012-2022).
Comments are closed.