Redirecting Both to a file and std output

Hello Friends,

Can some one help me how to redirect output of a file to both a file and std output? All the help would be greatly appreciated.

Regards
Sridhar

Hi

Use "tee" >>>

print "hello world" | tee /tmp/outfile

Cheers