‘grep +A’: print everything after a match [duplicate]
AWK If you don’t mind using AWK: awk ‘/yahoo/{y=1;next}y’ data.txt This script has two parts: /yahoo/ { y = 1; next } y The first part states that if we encounter a line with yahoo, we set the variable y=1, and then skip that line (the next command will jump to the next line, thus … Read more