Hi there,
In shell scipt, if we wanted to redirect an output of a script to a file, we can do the following and no output will appear on the screen.
Is there a way to have this script output both to the outfile and also to the screen?
Any help is appriciated
thanks,
In shell scipt, if we wanted to redirect an output of a script to a file, we can do the following and no output will appear on the screen.
Code:
perl test.pl >> outfile 2>&1
Is there a way to have this script output both to the outfile and also to the screen?
Any help is appriciated
thanks,