如果你想在当前目录下 查找"hello,world!"字符串,可以这样: grep -rn "hello,world!" ./ ./ : 表示路径为当前目录. -r 是递归查找 -n 是显示行号
linux命令
最新推荐文章于 2024-11-22 17:27:17 发布
如果你想在当前目录下 查找"hello,world!"字符串,可以这样: grep -rn "hello,world!" ./ ./ : 表示路径为当前目录. -r 是递归查找 -n 是显示行号