grep -v grep

2020/11/30 grep

# Heading

    • grep 是查找含有指定文本行的意思,比如grep test 就是查找含有test的文本的行
    • grep -v 是反向查找的意思,比如 grep -v grep 就是查找不含有 grep 字段的行 通常使用grep -v grep用于排除grep进程本身