wget output question

Hello there,

want to ask a very simple question. I want to read the output messages of wget both in terminal and also put them into a text file.

i know that by using -o flag, i can log the messages into a text file but then i won't be able to see them on terminal.

I'd appreciate any help a lot!

you might find tee(1) usefull for this