how to print words after a specific word in file in linux terminal in one line code example Example: show output after a keyword in shell script in a file sed -n -e '/TERMINATE/,$p'