方法一:使用 find 和 xargs find . -maxdepth 1 -type f -executable | xargs ldd 方法二:使用 for 循环 直接复制下面内容粘贴到命令行即可 for file in *; do if [ -f