Scenario we are looking for some support process and grep keeps showing up in the results, we want to get rid of that

So here is the original way:

Here is the simple way to remove it (but its also not pretty):

Other ways:

NOTE: lines with comment fail and fail-ish should not be used

One thought on “Removing Grep or Awk from search results (example with PS)

Leave a Reply

Your email address will not be published.