I have a file, with a KEYWORD on line number n. How can I print all lines starting from line n+1 until the end?For example, here I would liek to pro=int only lines DDD and EEEAAABBBCCCKEYWORDDDDEEE
cat all lines from file, which are after KEYWORD
linux;bash;cat
You can do this with sed:sed '1,/^KEYWORD$/d'This will delete (omit) all lines from the beginning of the stream until KEYWORD, inclusive.