remsh rsh error redirect problem
- by soField
using following command on hp-ux
remsh opera -l myuser crontab -l /opt1/exp_opera_crontab 2/opt/a.log
and when i echo $? i get 0
because its executing crontab -l on remote machine
but i dont have opt1 directory so
export wont be copied to my local machine in /opt1/exp_opera_crontab
i dont get any error about this when i run this remsh or rsh command
is there any way to identify both of remote and local machine related errors and redirecting them into my local machine ?