Run a bash script, display on the screen and save all information in a file including error info

Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.

For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.

Best Regards
Damon

Hi.

I would guess something like:

./test.sh 2>&1 | tee some_file