首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >-name和-iname在使用FIND时有什么区别?

-name和-iname在使用FIND时有什么区别?
EN

Unix & Linux用户
提问于 2015-09-21 00:58:19
回答 1查看 55.5K关注 0票数 42

这个问题说明了一切,我都看到了

代码语言:javascript
运行
复制
find -name 

代码语言:javascript
运行
复制
find -iname 

在没有明显图案的情况下到处使用。

有人能解释一下这些差异吗?也许可以举个例子来说明一下。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2015-09-21 01:07:49

来自GNU find手册页面:

代码语言:javascript
运行
复制
   -iname pattern
          Like -name, but the match is case insensitive.  For example, the
          patterns `fo*' and `F??' match  the  file  names  `Foo',  `FOO',
          `foo',  `fOo',  etc. 
票数 52
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/230952

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档