aix系统,如何限定find命令只在当前目录下查找、不去子目录中找。

aix系统,如何限定find命令只在当前目录下查找、不去子目录中找。

3楼正确
find . ! -name "." -type d -prune -o -type f -name "*.txt" -print
find . ! -type d -print
ls -lrt */
ls -lrt |grep
← 上一篇: 下一篇: →