[root@ob2 mytmp]# find -type f -name "*.html" -or -name "*.txt"
./02.html
./aa.html
./03.html
./01.html
./aa2.txt
[root@ob2 mytmp]# find -type f -name "*.html" -and -name "*.txt"
转载于:https://www.cnblogs.com/gaoyuechen/p/7521546.html
[root@ob2 mytmp]# find -type f -name "*.html" -or -name "*.txt"
./02.html
./aa.html
./03.html
./01.html
./aa2.txt
[root@ob2 mytmp]# find -type f -name "*.html" -and -name "*.txt"
转载于:https://www.cnblogs.com/gaoyuechen/p/7521546.html