get a specific word after a given word python code example Example: show output after a keyword in shell script in a file sed -n -e '/TERMINATE/,$p'