Hi All,
I wanted to find out a way to get a return value of a command run by rsh. eg: rsh -l<login> <machine name> <command>
Is there a way to determine whether <command> running on remote machine returned 0 or 1 ?
I tried
$> rsh -l<login> <machine name> "<command>; echo $?"
but it always echos 0 (success).
Help!
Muskaan
I wanted to find out a way to get a return value of a command run by rsh. eg: rsh -l<login> <machine name> <command>
Is there a way to determine whether <command> running on remote machine returned 0 or 1 ?
I tried
$> rsh -l<login> <machine name> "<command>; echo $?"
but it always echos 0 (success).
Help!
Muskaan