I am trying to do something like this
echo " Rundate is $rundate " > fileone.log
echo " Rundate is $rundate " > filetwo.log
But I dont want to do this as two lines. One the first line itself I shld be able to redirect the echo command to two files. I remember doing it some years ago, using either pipe or fork. Cant remember how.
Any clues people.
Thanks
echo " Rundate is $rundate " > fileone.log
echo " Rundate is $rundate " > filetwo.log
But I dont want to do this as two lines. One the first line itself I shld be able to redirect the echo command to two files. I remember doing it some years ago, using either pipe or fork. Cant remember how.
Any clues people.
Thanks