Find symbolic links in a directory

て烟熏妆下的殇ゞ 提交于 2019-12-12 15:01:29

问题


How can one recursively find all the symbolic links in a directory in Unix?

Something like this

find . -name *.o

but for symbolic links along the lines of

find . -type symlink ???

回答1:


find . -type l

Should work.

http://linuxmanpages.com/man1/find.1.php



来源:https://stackoverflow.com/questions/4611595/find-symbolic-links-in-a-directory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!