在linux系统中查找某个字符串在文件的第几行

grep -rn "hello,world!"  file_name

猜你喜欢

转载自blog.csdn.net/u_7890/article/details/82348206
今日推荐