linux grep command – grep not include, grep reverse match

There is also a case where we need to exclude certain content when we do content search. How to achieve it? Still linux grep command! I have such a file test5.txt. Need to query the line containing “dfff” content but not include “apple”. First, use linux grep to query the line containing “dfff”. Find 3 … Continue reading linux grep command – grep not include, grep reverse match