上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 72 下一页
摘要: 利用Linux 系统是自带的英语词典 查找这样一个单词: 5 个字母,第3个字母是j,最后一个字母是r。加上参数 表示不区分大小写。系统给出符合条件的单词是: major Major 如果 和`$`的作用是进行_锚定_,否则例如: 得到的结果是: Gujarat Gujarat's Gujarati 阅读全文
posted @ 2017-06-04 15:17 2021年的顺遂平安君 阅读(335) 评论(0) 推荐(0)
摘要: : Match an element zero or one time 例如: : color 或 colour 但不能是 colo2r : Match an element zero or more times : Match an element one or more times : Matc 阅读全文
posted @ 2017-06-04 15:17 2021年的顺遂平安君 阅读(276) 评论(0) 推荐(0)
摘要: 任意字符(The Any Character) dot or period character: "." "."代表任意字符,但是 不符合,因为"."必须代表一个字符。所以符合条件的字符串至少要含 4 个字符。 锚定字符(Anchors) beginning of the line "^" end 阅读全文
posted @ 2017-06-04 15:07 2021年的顺遂平安君 阅读(304) 评论(0) 推荐(0)
摘要: 新建一批 txt 文件: 将`dirlist .txt bzip`字符串的部分输出到 stdout: 如果加上参数 : 则将包含符合条件的字符串的文件列出(而不是列出具体的字符串)。 阅读全文
posted @ 2017-06-04 15:06 2021年的顺遂平安君 阅读(245) 评论(0) 推荐(0)
摘要: `touch`命令有两个主要功能: 改变 timestamps 新建_空白_文件 例如,不带任何参数地输入: 将在当前目录下新建三个空白文件:_file1_, _file2_, _file3_。 如果当前目录已经存在_file4_,那么: 会把 _file4_ 的 last access time 阅读全文
posted @ 2017-06-04 15:05 2021年的顺遂平安君 阅读(649) 评论(0) 推荐(0)
摘要: The xargs command performs an interesting function. It accepts input from standard input and converts it into an argument list for a specified command 阅读全文
posted @ 2017-06-04 15:03 2021年的顺遂平安君 阅读(240) 评论(0) 推荐(0)
摘要: 以下面的命令为例: 分面两部分,第一部分: 即按照通配符 查找用户目录下的 regular files。第二部分: 是一条件命令, 代表查找到的文件的路径,对这些路径下的文件执行操作 ,最后用一个 符号结束。 这里 和`;`都要放在单引号里,是因为括号和冒号在 shell 中都有特定含义,放入单引号 阅读全文
posted @ 2017-06-04 15:02 2021年的顺遂平安君 阅读(300) 评论(0) 推荐(0)
摘要: : 查找 _exactly_ n 分钟前内容或属性被最后修过的文件 : 查找内容或属性的最后修改时间晚于 文件的文件 : 查找 n 24 小时前被内容或属性被最后修改过的文件 : 查找空文件和目录 : 查找属于_group_的文件或目录 : 相当于 ,但是 不考虑大小写 : 查找 inode num 阅读全文
posted @ 2017-06-04 15:00 2021年的顺遂平安君 阅读(199) 评论(0) 推荐(0)
摘要: 例如, :查找 大于 1 MB 的文件。其他参数: : 512 byte blocks. This is the default if no unit is specified. : Bytes : 2 byte words : Kilobytes : Megabytes : Gigabytes 阅读全文
posted @ 2017-06-04 14:55 2021年的顺遂平安君 阅读(290) 评论(0) 推荐(0)
摘要: `find type d name "dir_name"` 是查找目录的参数,如果是查找其他的: : Block special device file : Character special device file : Regular file : Symbol link 阅读全文
posted @ 2017-06-04 14:54 2021年的顺遂平安君 阅读(1040) 评论(0) 推荐(0)
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 72 下一页