sed
# Replace all `old_word` occurrences with `new_word`
# in all input lines and print the result to stdout
sed 's/old_word/new_word/g' input_file
command | sed 's/old_word/new_word/g'
References​
- HTB Academy. (n.d.). Linux Fundamentals: Workflow: Filter Contents. https://academy.hackthebox.com/module/18/section/80
- tldr InBrowser.App. (n.d.). https://tldr.inbrowser.app/pages/common/sed