find命令查找文件,并排除相应路径

find / -path "/exclude/" -prune -o -name "lsof" -print

 

 

查找根目录下文件,并排除/exclude路径

posted @ 2016-04-22 09:56  rorshach  阅读(1857)  评论(0编辑  收藏  举报