shenhanchinese 发表于 2004-11-30 13:51:40

奇怪 find杂不能用了

# find / -name "*.cpp" -o -name "*.sh"
/usr/bin/find: line 1: -bash:: command not found
# find / -name "*.cpp" -o -name "*.h"
/usr/bin/find: line 1: -bash:: command not found
# /usr/bin/find / -name "*.cpp" -o -name "*.h"
/usr/bin/find: line 1: -bash:: command not found
# ls -l/usr/bin/find
ls: invalid option -- /
Try `ls --help' for more information.
# ls -l /usr/bin/find
-rwxr-xr-x    1 root   root         37 Sep 10 22:18 /usr/bin/find
ls -l /usr/bin/find
-rwxr-xr-x    1 root   root         37 Sep 10 22:18 /usr/bin/find

dannycat 发表于 2004-12-1 14:48:38

你的 find 文件才 37 字节?
页: [1]
查看完整版本: 奇怪 find杂不能用了