省略 tail -f 中的某些行

-2 tail

我喜欢tail -f但我喜欢省略其中包含特定字符串的行。这可能吗?我见过包含某些字符串的示例,但没有看到如何省略。

mel*_*yed 6

tail -f /path/to/file | grep -v CertainText
Run Code Online (Sandbox Code Playgroud)