Ubuntu – How to combine multiple grep commands

bashgrep

I have a command like this:

| grep -v @param | grep -v @return | grep -v @Test | grep -v @throws

And it's getting bigger. Is there a way to make this neater?

Best Answer

Another option:

... | grep -v -e @param -e @return -e @Test -e @throws