find / -name "*filename*" 2>/dev/null
*filename*改成你想要查找的文件即可,模糊查找请加上相应的通配符
转自:https://blog.csdn.net/qq_35544379/article/details/111401707