在使用find命令时,参数最好使用引号括起来,这样比较安全
如:查找当前目录下的名字以get开头的所有文件
find ./ -name "get*"
如果使用find ./ -name get*的话是查找不到的,但是如果没有通配符的话,是可以的
find ./ -name get 等价于 find ./ -name "get"
posted on 2008-10-13 16:08 starspace 阅读(509) 评论(0) 编辑 收藏 举报