Linux の find コマンドは、表示権限のないファイルをフィルターで除外します。

find 路径 -name 文件名 2>/dev/null

おすすめ

転載: blog.csdn.net/cuiyuan605/article/details/132279295