码迷,mamicode.com
首页 > 其他好文 > 详细

find命令

时间:2019-01-28 01:19:57      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:提示   子目录   name   当前目录   str   作用   例子   -name   指定   

作用:

  查找指定路径下目录/文件,包括子目录

使用:

  find [路径] -name “内容"

例子:

  # 查找当前目录下的py文件

  find -name "*.py"

提示:

  如省略路径,则在当前目录下查找

  可使用通配符

find命令

标签:提示   子目录   name   当前目录   str   作用   例子   -name   指定   

原文地址:https://www.cnblogs.com/Selling-fish-bears/p/10327829.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!