Linux:find命令查找文件

简介: Linux:find命令查找文件

# 语法格式
find path -option 
eg:
find . -name "*.c"

查找php文件中的字符串

find . -name '*.php' | xargs grep 'database'

https://www.runoob.com/linux/linux-comm-find.html

相关文章
|
Linux
16. 【Linux教程】find 查找文件和目录
16. 【Linux教程】find 查找文件和目录
325 3
|
Linux
在 Linux 系统中,`find` 命令
在 Linux 系统中,`find` 命令
347 56
|
12月前
|
Linux
linux查看目录下的文件夹命令,find查找某个目录,但是不包括这个目录本身?
通过本文的介绍,您应该对如何在 Linux 系统中查看目录下的文件夹以及使用 `find` 命令查找特定目录内容并排除该目录本身有了清晰的理解。掌握这些命令和技巧,可以大大提高日常文件管理和查找操作的效率。 在实际应用中,灵活使用这些命令和参数,可以帮助您快速定位和管理文件和目录,满足各种复杂的文件系统操作需求。
1296 8
|
Linux
在 Linux 系统中,`find` 命令是一个强大的文件查找工具
在 Linux 系统中,`find` 命令是一个强大的文件查找工具。本文详细介绍了 `find` 命令的基本语法、常用选项和具体应用示例,帮助用户快速掌握如何根据文件名、类型、大小、修改时间等条件查找文件,并展示了如何结合逻辑运算符、正则表达式和排除特定目录等高级用法。
2314 6
|
Linux 应用服务中间件 nginx
|
存储 Linux Shell
linux查找技巧: find grep xargs
linux查找技巧: find grep xargs
208 13
|
机器学习/深度学习 存储 Linux
linux中强大且常用命令:find、xargs、grep
linux中强大且常用命令:find、xargs、grep
938 9
|
SQL 移动开发 Linux
linux下find、grep命令详解
linux下find、grep命令详解
406 8
|
存储 Linux 数据库
|
Docker 容器
14 response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file speci
14 response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file speci
377 1