grep查询多个关键字的命令

查询多个关键字

# grep -E "字符串1|字符串2|字符串3"

或者

# egrep  "字符串1|字符串2|字符串3"

你可能感兴趣的:(Shell)