Linux_grep—多个条件

【1】多个条件,-E可能代表either,表任意

grep -E '123|abc' filename  // 找出文件(filename)中包含123或者包含abc的行

猜你喜欢

转载自blog.csdn.net/m0_38034312/article/details/81096930