by

Parsing and finding symbolic links in multiple paths

This bash script will list simbolic links in multiple path (using wildchar * for nested directories), at level 1 from main directory, parsing the result as well.

The script will use awk to parse returned data, getting the 11th data, space separated.
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/10010/Parsing-and-finding-symbolic-links-in-mu?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
ls -l `find ABC*/code/target-*/TARGET -maxdepth 1 -type l -name "*"` | awk '{print $11}'
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus