摘要: grep【global regular expression print】 print lines matching a pattern regex 是指一个正则表达式 grep选项列表: -i 忽略大小写--ignore-case -v invert match -c 打印匹配的数量,而不是文本行 阅读全文
posted @ 2018-11-18 23:34 我是老邱 阅读(348) 评论(0) 推荐(0)
摘要: locate locate locate 执行快速的路径名数据库搜索,输出每个与指定子字符串相匹配的路径名。 locate bin/zip locate 命令的数据库是updatedb命令创建的。 find find locate只能依据文件名查找文件,而find命令能基于各种各样的属性 搜索一个给 阅读全文
posted @ 2018-11-18 20:29 我是老邱 阅读(212) 评论(0) 推荐(0)