Linux 常用命令个人记录

grep -R ‘test’ * 查询当前目录下含有test字符串的文件

set nonu 取消行号

检索目录下文件是否包含某个字符串
find .|xargs grep -ri “test”

猜你喜欢

转载自blog.csdn.net/zf766045962/article/details/68942374