garp28 wrote: > ssh -T ${SRI} <<EOF > su - simrun -c "/tmp/stop_sri.sh" > EOF > > I would like to redirect the output of the stop_sri.sh into a local log. > How can I do that?
Use '>' to redirect the outout. For example: ssh -T ${SRI} >stop_sri.log <<EOF su - simrun -c "/tmp/stop_sri.sh" EOF Bob