如果使用该命令时,不设置任何参数,则find命令将在当前目录下查找子目录与文件。并且将查找到的子目录和文件全部进行显示。 语法 find path -option [ -print ] [ -exec -ok command ] {} ; 选项 -amin<分钟>:查找在指定时间曾被存取过的文件或目录,单位以分钟计算; -anewer<参考文件或目录>:查找其存取时...
在Linux 命令中,find用于在指定目录下查找文件。任何位于参数之前的字符串都将被视为欲查找的目录名,其支持按名称查找、按正则表达式查找、按文件大小查找、按文件权限查找等多种查询方式。如果在使用该命令时,不设置任何参数,则find命令将在当前目录下查找子目录与文件,并且将查找到的子目录和文件全部进行显示。 语法...
[root@luodi ~]# find / -user oldboy -group oldboy -exec ls -l {} \;查找系统中用户为oldboy用户组为oldboy的文件,当然用户与用户组也可以拆开来用。 [root@luodi ~]# find / -uid 2103 查找系统中uid为2013的文件 [root@luodi ~]# find / -gid 2100 查找系统中gid为2100的文件 [root@lu...
find.-type 类型参数 类型参数列表: f普通文件 l符号连接 d目录 c字符设备 b块设备 s套接字 pFifo 基于目录深度搜索 向下最大深度限制为3 find.-maxdepth3-type f 搜索出深度距离当前目录至少2个子目录的所有文件 find.-mindepth2-type f 根据文件时间戳进行搜索 ...
-print:假设find指令的回传值为Ture,就将文件或目录名称列出到标准输出。格式为每列一个名称,每个名称前皆有“./”字符串; -print0:假设find指令的回传值为Ture,就将文件或目录名称列出到标准输出。格式为全部的名称皆在同一行; -printf<输出格式>:假设find指令的回传值为Ture,就将文件或目录名称列出到标准输...
--version -xdev -ignore_readdir_race -noignore_readdir_race 测试(N可以是 +N 或-N 或 N):-amin N -anewer FILE -atime N -cmin -cnewer 文件 -ctime N -empty -false -fstype 类型 -gid N -group 名称 -ilname 匹配模式 -iname 匹配模式 -inum N -ipath 匹配模式 -iregex 匹配模式 ...
Find Your Pot of Career Gold & Save Up to 40% March 12, 2024 Bridging Design and Runtime Gaps: AsyncAPI in Event-Driven Architecture February 25, 2024 Implementing OpenTelemetry Natively in an Event Broker February 15, 2024 Innovation as a Catalyst in Telecommunications ...
根据名称查找某目录下的文件find test/ -name abc*示例含义:查找test目录下,所以文件名包含abc的文件...
cat /boot/config-`uname -r`## Automatically generated make config: don't edit# Linux kernel version: 2.6.32-573.el6.x86_64# Thu Jul 23 15:38:20 2015#CONFIG_64BIT=y# CONFIG_X86_32 is not setCONFIG_X86_64=yCONFIG_X86=yCONFIG_OUTPUT_FORMAT="elf64-x86-64"CONFIG_ARCH_DEFCONFIG="ar...
Ubuntu is the modern, open source operating system on Linux for the enterprise server, desktop, cloud, and IoT.