linux find 查找忽略多个目录

来源:岁月联盟 编辑:exp 时间:2011-09-08

centos下

find /etc/  /( -path /etc/sysconfig -o -path /etc/avahi /) -prune -o  -name “host*”  -print