grep查詢多個字符串

方法一: egrep 'xxx|yyyy|zzz'   方法二: grep -E 'aaa|bbb' 方法三: grep -e 'aaa' -e 'bbb' 單引號,雙引號均可以
相關文章
相關標籤/搜索