查找文件名中包含字符的文件

root@ubuntu:/usr/bin# find . -name '*python*'  -exec ls -l {} ;
-rwxr-xr-x 1 root root 1056 Dec 21  2013 ./dh_python2
lrwxrwxrwx 1 root root 10 Mar 17 19:16 ./python3m -> python3.4m
lrwxrwxrwx 1 root root 9 Mar 17 19:16 ./python2 -> python2.7
lrwxrwxrwx 1 root root 9 Mar 17 19:16 ./python3 -> python3.4
-rwxr-xr-x 1 root root 4061272 Apr 11  2014 ./python3.4m
-rwxr-xr-x 1 root root 3349512 Mar 23  2014 ./python2.7
-rwxr-xr-x 1 root root 4061272 Apr 11  2014 ./python3.4
lrwxrwxrwx 1 root root 29 Mar 17 19:16 ./dh_python3 -> ../share/dh-python/dh_python3
lrwxrwxrwx 1 root root 9 Mar 17 19:16 ./python -> python2.7
原文地址:https://www.cnblogs.com/fanren224/p/8457289.html