Echo both to the screen and to a file

In shellscript, I want to display echo message in console and in the log file. please help me to display this message in two places.
I am using below statment to display messsage, but it is displaying in log file only.

echo "Server Already running" >> serverlog 2>&1

Read up on the tee command.

try:

echo "Server Already running" | tee -a serverlog

thanks you.. this is working for me echo "Server Already running" | tee -a serverlog