Question : shell script sending the output to file and also STDOUT

perl base.pl clients.txt >> /export/home/client.out

I want to send the above output to the file client.out and also to stdout in a shell script. Please advise.

Answer : shell script sending the output to file and also STDOUT

perl base.pl clients.txt | tee -a /export/home/client.out
Random Solutions  
 
programming4us programming4us