Hi,
I need to get exit status of the remote command.
For example:
a=/tmp/myfile
remsh host "ls $a;echo $?"
The problem is that I have to use variable and not it value:
i.e. I can't use this:
remsh host 'ls /tmp/myfile;echo $?'
Thanks in advance,
Vadim
I need to get exit status of the remote command.
For example:
a=/tmp/myfile
remsh host "ls $a;echo $?"
The problem is that I have to use variable and not it value:
i.e. I can't use this:
remsh host 'ls /tmp/myfile;echo $?'
Thanks in advance,
Vadim