linuxhandbook.com
Tee Command in Linux Explained with Examples - Linux Handbook
If you want to display the output of a command and save it to a file simultaneously, tee command is what you need. Learn various ways of using tee command in Linux.