[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"本文共 232 字,大约阅读时间需要 1 分钟。
[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